[StGit] How do I get colored diff output?
- From
- Peter Baumann <waste.manager@gmx.de>
- Date
- Aug 30, 2007, 12:32 UTC
- Message-ID
- <20070830123222.GG5050@xp.machine.xx>
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