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

rfe: git-config: lack of color reset option

From
JEJan Engelhardt <jengelh@medozas.de>
Date
Feb 20, 2012, 20:50 UTC
Message-ID
<alpine.LNX.2.01.1202202142160.31585@frira.zrqbmnf.qr>
Hi,
given the following config:
[color "diff"]
	commit = bold white blue
[color "decorate"]
	branch = green
The attributes from color.diff.commit are inherited for color.decorate.
1. There seems to be no way to reset the attributes such that
"color.decorate.branch = default green blue" wouuld have an effect.
2. It would be nice if there was an option to only paint the 
commit hash, rather than the entire line including the decorate 
parenthesis group.

(My current version is 1.7.7, but there seem to be no changes regarding color config in 1.7.8 and 1.7.9 in the release notes, so I presume the issue is still current.)

Next: Jeff King
Message 1 of 3 in “rfe: git-config: lack of color reset option”
  1. Jan EngelhardtFeb 20, 2012
  2. Jeff KingFeb 20, 2012
  3. Junio C HamanoFeb 20, 2012

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.