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?