chiark / gitweb /
dot/gitconfig.in: Use `diff-highlight' for, err, highlighting diffs.
[profile] / dot / gitconfig.in
index 8dd1f90953ed122aec2c2fd64173157825656c24..b6828393f7bccf5c641a955f83562cba33cf3ac4 100644 (file)
 [color "grep"]
        external = --color=always
 
+[pager]
+       log = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
+       show = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
+       diff = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
+
 [alias]
        egrep = "grep -E"
        patch = "format-patch -o p -s"