[bind10-dev] redundant white spaces and colored git diff

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Mon Jun 20 19:29:52 UTC 2011


At Mon, 20 Jun 2011 21:14:13 +0200,
Michal 'vorner' Vaner <michal.vaner at nic.cz> wrote:

> On Mon, Jun 20, 2011 at 11:23:48AM -0700, JINMEI Tatuya / 神明達哉 wrote:
> > Colored version of git diff is a very effective tool to identify these
> > editorial issues.  See, e.g.:
> > http://gyazo.com/bdd070d0925080fabcc279a2984080f2.png
> > (the red cursors indicate redundant white spaces)
> 
> How do you turn the colors on in diff? I think I don't see them (I have colors
> in diff to show what is new and stuff). I know how to do it in vim, though:

Hmm, I didn't do anything special except for enabling colors by adding
this to ~/.gitconfig:
[color]
	ui = auto

Maybe it depends on the git version? (mine is 1.7.4.4)

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind10-dev mailing list