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

Re: git diff-index ignores color config

From
EPElias Persson <delreich@takeit.se>
Date
Apr 27, 2011, 07:20 UTC
Message-ID
<1303888846.10130.7.camel@dhcp-141.kontor.deklomp.se>
In-Reply-To
<7voc3sewpg.fsf@alter.siamese.dyndns.org>
On Tue, 2011-04-26 at 10:42 -0700, Junio C Hamano wrote:
> Isn't that very much on purpose?  diff-{index,tree,files} plumbings should
> not be affected by UI related configuration variables.

Documentation indicates that color is configurable for it though. I can't say if the issue is with the behavior or the documentation.

I can say I find the pre-commit verifying hook to be a lot more useful when you can actually see the whitespace issues.

Previous: Junio C HamanoNext: Michael J Gruber
Message 3 of 9 in “git diff-index ignores color config”
  1. Elias PerssonApr 26, 2011
  2. Junio C HamanoApr 26, 2011
  3. Elias PerssonApr 27, 2011
  4. config.txt,diff-options.txt: porcelain vs. plumbing for color.diffMichael J Gruber, Apr 27, 2011
  5. Jonathan NiederApr 27, 2011
  6. Junio C HamanoApr 27, 2011
  7. Junio C HamanoApr 27, 2011
  8. Jonathan NiederApr 27, 2011
  9. Michael J GruberApr 28, 2011

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.