public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* Decoration of "other" refs
@ 2023-04-05 18:07 Andrew Cooper
  0 siblings, 0 replies; only message in thread
From: Andrew Cooper @ 2023-04-05 18:07 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-05 18:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 18:07 Decoration of "other" refs Andrew Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox