Re: [PATCH 4/3] bisect: use a detached HEAD to bisect
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- May 23, 2008, 15:27 UTC
- Message-ID
- <alpine.LFD.1.10.0805230823330.3081@woody.linux-foundation.org>
- In-Reply-To
- <7v3ao9twfa.fsf@gitster.siamese.dyndns.org>
On Thu, 22 May 2008, Junio C Hamano wrote:
Show 5 quoted lines
> > One potential worry/downside is "bisect visualize". Because <bisect> > branch was used for bisection, the _current_ commit has always been > indicated with a label. HEAD would not get any special label in gitk, > would it?
This is a general problem in gitk.
It's worse than not showing a label, btw. If it doesn't realize what the HEAD is (and it won't), it also doesn't show the fake "uncommitted changes" commit(s).
Test by doing something like
git checkout HEAD^ echo "Dummy change" >> Makefile gitk
and note the lack of both pointer to detached head and the lack of notice about local uncommitted changes.
Paul?
Linus