Re: [PATCH] git-branch: show detached HEAD
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 3, 2007, 07:05 UTC
- Message-ID
- <7v1wmcr3nz.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <1167780131528-git-send-email-hjemli@gmail.com>
Lars Hjemli <hjemli@gmail.com> writes:
Show 7 quoted lines
> This makes git-branch show a detached HEAD as '* (no branch)'. > > Signed-off-by: Lars Hjemli <hjemli@gmail.com> > --- > > 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?