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

Re: [PATCH] gitk: show detached HEAD if --all is specified

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 9, 2014, 17:02 UTC
Message-ID
<xmqqppf4loaq.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1410247756-10879-1-git-send-email-max@max630.net>
Max Kirillov <max@max630.net> writes:
> If HEAD is detached, 'gitk --all' does not show it. This is inconvenient
> for frontend program, and for example git log does show the detached HEAD.

"git log" does use the same revision machinery as rev-parse uses internally to parse its command line arguments. What does it do differently?

Previous: Max KirillovNext: Junio C Hamano
Message 2 of 3 in “gitk: show detached HEAD if --all is specified”
  1. gitk: show detached HEAD if --all is specifiedMax Kirillov, Sep 9, 2014
  2. Junio C HamanoSep 9, 2014
  3. Junio C HamanoSep 9, 2014

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.