From: Junio C Hamano Date: Wed, 03 Jan 2007 07:05:20 GMT Subject: Re: [PATCH] git-branch: show detached HEAD Message-ID: <7v1wmcr3nz.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <1167780131528-git-send-email-hjemli@gmail.com> Lars Hjemli writes: > This makes git-branch show a detached HEAD as '* (no branch)'. > > Signed-off-by: Lars Hjemli > --- > > This might be a premature patch. But if/when we allow HEAD to be detached, > git-branch should tell us that HEAD is the current 'branch'. I fully agree with the motivation, but 100 lines of change to adjust only to detached HEAD seems too much. What else is going on in this patch, I wonder... Can we have two patches, one for loop restructuring without detached HEAD support, and then another to add support for it?