Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: sean <seanlkml@sympatico.ca>
Cc: git@vger.kernel.org
Subject: Re: Adding color to git diff output.
Date: Tue, 11 Apr 2006 16:12:59 -0700	[thread overview]
Message-ID: <7virpf4sg4.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <BAYC1-PASMTP08B0DB32592225AAD0838AAECD0@CEZ.ICE> (seanlkml@sympatico.ca's message of "Tue, 11 Apr 2006 18:32:45 -0400")

sean <seanlkml@sympatico.ca> 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 ;-).

  reply	other threads:[~2006-04-11 23:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060411183245.7723c70c.seanlkml@sympatico.ca>
2006-04-11 22:32 ` Adding color to git diff output sean
2006-04-11 23:12   ` Junio C Hamano [this message]
2006-04-12  0:34     ` Linus Torvalds
     [not found]       ` <20060411203841.3b824062.seanlkml@sympatico.ca>
2006-04-12  0:38         ` sean
2006-04-12  1:03           ` Linus Torvalds
2006-04-12  7:38             ` Alex Riesen
2006-04-12 15:46               ` Linus Torvalds
2006-04-12 15:52                 ` Alex Riesen
2006-04-12  6:19           ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7virpf4sg4.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=seanlkml@sympatico.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox