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

Re: [PATCH v2] Let --decorate show HEAD position

From
Thomas Rast <trast@student.ethz.ch>
Date
Oct 12, 2009, 21:11 UTC
Message-ID
<200910122311.12106.trast@student.ethz.ch>
In-Reply-To
<7vk4z0e31e.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 5 quoted lines
> 
> I see HEAD is given at the front in the sample output, which I think also
> makes sense.  Is it because it is pushed the last?  If so, the same commit
> at the tip of branch alpha and beta are decorated with beta and then
> alpha, I have to wonder...?

Indeed. I wrote this off as a lucky coincidence coming from HEAD sorting before any lowercase letters, but it's exactly as you say:

  commit a0f7579d38feb8c4d87282a6cecbc6778908f19f (test-b, test-a, next)
  Merge: 01287fd 548bc3a
  Author: Thomas Rast <trast@student.ethz.ch>
  [...]
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Junio C Hamano
Message 5 of 5 in “Let --decorate show HEAD position”
  1. Let --decorate show HEAD positionThomas Rast, Oct 12, 2009
  2. Thomas RastOct 12, 2009
  3. Let --decorate show HEAD positionThomas Rast, Oct 12, 2009
  4. Junio C HamanoOct 12, 2009
  5. Thomas RastOct 12, 2009

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.