Re: [PATCH] git-branch: show detached HEAD

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] git-branch: show detached HEAD

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:47

Lars Hjemli [off-list ref] writes:
This makes git-branch show a detached HEAD as '* (no branch)'.

Signed-off-by: Lars Hjemli <redacted>
---

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?

Re: [PATCH] git-branch: show detached HEAD

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:42:47

On 1/3/07, Junio C Hamano [off-list ref] wrote:
Can we have two patches, one for loop restructuring without
detached HEAD support, and then another to add support for it?
Sure, I'll do it tonight

-- 
larsh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help