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

Re: Simplify-by-decoration with decorate-refs-exclude

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 3, 2019, 14:44 UTC
Message-ID
<xmqqwofuia0x.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<64bc5556-b098-7991-b7c2-3483277bb73c@web.de>
René Scharfe <l.s.r@web.de> writes:
> Sure, but we'd need to move the code to handle the raw format as well, no?
> Perhaps like this?  It depends on callers of parse_revision_opt() calling
> setup_revisions() before using decorations.  And it may have other side
> effects; I'm not comfortable with this change.

Hmph, fair enough. I missed the fact that we do want to keep "--pretty=raw" being "special" but only in "log"; a move in this direction teaches the revision walk API layer about it, which is probably not a good idea.

Thanks for sanity checking.
Previous: René ScharfeNext: René Scharfe
Message 8 of 11 in “Simplify-by-decoration with decorate-refs-exclude”
  1. Étienne SERVAISAug 2, 2019
  2. René ScharfeAug 2, 2019
  3. Junio C HamanoAug 2, 2019
  4. René ScharfeAug 2, 2019
  5. Junio C HamanoAug 2, 2019
  6. Jeff KingAug 2, 2019
  7. René ScharfeAug 3, 2019
  8. Junio C HamanoAug 3, 2019
  9. 1/2 log: test --decorate-refs-exclude with --simplify-by-decorationRené Scharfe, Sep 8, 2019
  10. Junio C HamanoSep 9, 2019
  11. 2/2 log-tree: call load_ref_decorations() in get_name_decoration()René Scharfe, Sep 8, 2019

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.