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

Re: "HEAD -> branch" decoration doesn't work with "--decorate=full"

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
May 13, 2015, 15:26 UTC
Message-ID
<55536D28.6070001@drmicha.warpmail.net>
In-Reply-To
<xmqq617wbkez.fsf@gitster.dls.corp.google.com>
Junio C Hamano venit, vidit, dixit 13.05.2015 16:51:
Show 9 quoted lines
> Michael Haggerty <mhagger@alum.mit.edu> writes:
> 
>> The new-style "HEAD -> branch" style decoration doesn't work when
>> "--decorate=full" is used:
>> ...
>> Was that an oversight or a conscious decision?
> 
> I do not recall making such a decision, and I doubt (the other)
> Michael wanted that way, either, so patches welcome, perhaps?

I was not aware of an alternate codepath for full decorations (and am surprised about it).

I can't look into this before next week, but --decorate=full should produce "HEAD -> refs/heads/master" and such.

I even vaguely remember testing it, but that may have been for v1 which turned different knobs than the end version.

Michael
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 17 in “"HEAD -> branch" decoration doesn't work with "--decorate=full"”
  1. Michael HaggertyMay 13, 2015
  2. Junio C HamanoMay 13, 2015
  3. Michael J GruberMay 13, 2015
  4. Junio C HamanoMay 13, 2015
  5. Junio C HamanoMay 13, 2015
  6. 2/2 log: do not shorten decoration names too earlyJunio C Hamano, May 13, 2015
  7. Jeff KingMay 14, 2015
  8. Junio C HamanoMay 14, 2015
  9. Jeff KingMay 14, 2015
  10. Junio C HamanoMay 14, 2015
  11. Jeff KingMay 14, 2015
  12. Junio C HamanoMay 14, 2015
  13. Jeff KingMay 14, 2015
  14. Junio C HamanoMay 14, 2015
  15. Jeff KingMay 14, 2015
  16. Junio C HamanoMay 22, 2015
  17. Jeff KingMay 22, 2015

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.