git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [StGit] How do I get colored diff output?
@ 2007-08-30 12:32 Peter Baumann
  2007-08-30 13:22 ` Catalin Marinas
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Baumann @ 2007-08-30 12:32 UTC (permalink / raw)
  To: git

Hi,

Is there a way to get colored diff output, preferable from the native
git diff without having to specify stg diff -O --color everytime?
It seems that stg doesn't honor color.diff config entry, so I am a
little lost.

(And yes I now that I could use the pager setting given in examples/gitconfig,

	stgit.pager = filterdiff --annotate | colordiff | less -FRX

 but I really prefere the native git coloring, which looks a loot nicer
 and does also highlight traling whitespace)

-Peter

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-31 15:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30 12:32 [StGit] How do I get colored diff output? Peter Baumann
2007-08-30 13:22 ` Catalin Marinas
2007-08-30 13:59   ` Peter Baumann
2007-08-30 16:57   ` Jakub Narebski
2007-08-31 15:14     ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).