Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-20 Thread Junio C Hamano
On Thu, Feb 19, 2015 at 3:13 AM, Julien Cretel wrote: > On Wed, Feb 18, 2015 at 5:07 PM, Junio C Hamano wrote: > >> Julien's "HEAD=master, other" vs "HEAD, master, other" may be >> subdued enough to be undistracting, I would guess. I do not think >> the distinction between "HEAD = master" and "H

Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-19 Thread Julien Cretel
On Wed, Feb 18, 2015 at 5:07 PM, Junio C Hamano wrote: > Julien's "HEAD=master, other" vs "HEAD, master, other" may be > subdued enough to be undistracting, I would guess. I do not think > the distinction between "HEAD = master" and "HEAD -> master" would > be useful, on the other hand. Just to

Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-19 Thread Michael J Gruber
Junio C Hamano venit, vidit, dixit 18.02.2015 20:49: > Michael J Gruber writes: > >> Yep, it very well is. Also, that approach would tell you which branch is >> checked out, though I don't consider that git log's business. >> >> OTOH, it's "backwards" in the sense that it marks the "ordinary" cas

Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-18 Thread Junio C Hamano
Michael J Gruber writes: > Yep, it very well is. Also, that approach would tell you which branch is > checked out, though I don't consider that git log's business. > > OTOH, it's "backwards" in the sense that it marks the "ordinary" case > (HEAD is symref, branch is checked out) specially compare

Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-18 Thread Michael J Gruber
Junio C Hamano venit, vidit, dixit 18.02.2015 18:07: > Michael J Gruber writes: > >> "git branch" will tell you your branches and which one is checked out >> (or HEAD); "git status" will tell you the latter. >> >> "git log" is about the DAG which has absolutely nothing to do with what >> you have

Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-18 Thread Junio C Hamano
Michael J Gruber writes: > "git branch" will tell you your branches and which one is checked out > (or HEAD); "git status" will tell you the latter. > > "git log" is about the DAG which has absolutely nothing to do with what > you have currently checked out. Yeah, that summarizes my reaction, to

Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-18 Thread Michael J Gruber
Julien Cretel venit, vidit, dixit 17.02.2015 00:40: > On Mon, Feb 16, 2015 at 11:15 PM, Junio C Hamano wrote: >> Julien Cretel writes: >> >>> As of Git 2.3.0, the output of "git log --decorate" is ambiguous as to >>> whether the HEAD is detached or not. >> >> It sounds as if you are reporting som

Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-16 Thread Julien Cretel
On Mon, Feb 16, 2015 at 11:15 PM, Junio C Hamano wrote: > Julien Cretel writes: > >> As of Git 2.3.0, the output of "git log --decorate" is ambiguous as to >> whether the HEAD is detached or not. > > It sounds as if you are reporting some regression, but has any > version of Git ever done so, or

Re: Should "git log --decorate" indicate whether the HEAD is detached?

2015-02-16 Thread Junio C Hamano
Julien Cretel writes: > As of Git 2.3.0, the output of "git log --decorate" is ambiguous as to > whether the HEAD is detached or not. It sounds as if you are reporting some regression, but has any version of Git ever done so, or is this just a new feature that does not exist yet? > More specifi