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

Decoration of "other" refs

From
ACAndrew Cooper <andrew.cooper3@citrix.com>
Date
Apr 5, 2023, 18:07 UTC
Message-ID
<b3c06daf-c059-5dea-7ddd-91149c9828ed@citrix.com>
Hello,

I have been trying to adjust the colours of log decoration, and I think there's a gap in configurability.

guilt creates refs/patches/$branch/$file.name for each applied patch, and there appears to be no way to colourise these.

Looking at the source, it appears that in ref_namespace[], the configuration for the NOTES, PREFETCH and REWRITTEN namespaces also don't specify a .decoration attribute, so will pick up a value of DECORATION_NONE.

It's probably not feasible to have configuration for arbitrary refs, but couldn't DECORATION_NONE turn into DECORATION_OTHER instead, and have an option which could be customised to something other than white?

Thanks,
~Andrew
Message 1 of 1 in “Decoration of "other" refs”
  1. Andrew CooperApr 5, 2023

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.