Re: git diff-index ignores color config
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 26, 2011, 17:42 UTC
- Message-ID
- <7voc3sewpg.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1303830261.3387.21.camel@dhcp-141.kontor.deklomp.se>
Elias Persson <delreich@takeit.se> writes:
Show 6 quoted lines
> Having color.ui (and/or color.diff) set to auto, doing > > git diff-index --check <some refspec> > > on a set with e.g. trailing whitespace does not produce colored > output.
Isn't that very much on purpose? diff-{index,tree,files} plumbings should not be affected by UI related configuration variables.