Re: Branch information (git branch/status) inconsistent when in detached HEAD state

2015-10-07 Thread Michael J Gruber
hould create them. (And I'm not sure whether the HEAD reflog is the right tool for your purpose.) Michael > > -Original Message- > From: Michael J Gruber [mailto:g...@drmicha.warpmail.net] > Sent: Wednesday, October 07, 2015 11:07 AM > To: Stijn De Ruyck; git@vger.ke

RE: Branch information (git branch/status) inconsistent when in detached HEAD state

2015-10-07 Thread Stijn De Ruyck
rmation (including the branch being built) into the binary.) Best regards, Stijn De Ruyck -Original Message- From: Michael J Gruber [mailto:g...@drmicha.warpmail.net] Sent: Wednesday, October 07, 2015 11:07 AM To: Stijn De Ruyck; git@vger.kernel.org Subject: Re: Branch information (g

Re: Branch information (git branch/status) inconsistent when in detached HEAD state

2015-10-07 Thread Michael J Gruber
Stijn De Ruyck venit, vidit, dixit 06.10.2015 15:03: > Hello, > > Consider a repository with a develop branch tracking origin/develop and where > HEAD = 545a36f = develop = origin/develop. > Tested with Git 2.4.3 and 1.8.3.4 on Linux. > > 1) git checkout develop > 2) git branch | head -1 (or git