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

2015-10-06 Thread Stijn De Ruyck
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 status) * develop 3) git checkout origin/develop Note: checking out

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