git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jon LoeligerNext: Paul Mackerras
Message 5 of 10 in “bisect: use a detached HEAD to bisect”
  1. 4/3 bisect: use a detached HEAD to bisectChristian Couder, May 22, 2008
  2. Junio C HamanoMay 23, 2008
  3. Christian CouderMay 23, 2008
  4. Jon LoeligerMay 23, 2008
  5. Linus TorvaldsMay 23, 2008
  6. Paul MackerrasMay 24, 2008
  7. Linus TorvaldsMay 24, 2008
  8. Jeff KingMay 25, 2008
  9. Paul MackerrasMay 26, 2008
  10. Junio C HamanoMay 26, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.