From: Junio C Hamano Date: Tue, 11 Apr 2006 23:12:59 GMT Subject: Re: Adding color to git diff output. Message-ID: <7virpf4sg4.fsf@assigned-by-dhcp.cox.net> In-Reply-To: sean writes: > Linus posted a colorize program a while back[1] but it wasn't taken into git. > The patch below takes a different approach, adding a GIT_DIFF_PAGER variable. > You can use it by assigning a filter to the environment variable, like so: > > export GIT_DIFF_PAGER="colordiff | less -RS" Sounds like a nice idea, even maybe suitable in a FAQ. Unfortunately colordiff does not seem to grok diff --cc output, but that is fine ;-).