chiark / gitweb /
dot/gitconfig.in: Use `diff-highlight' for, err, highlighting diffs.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 2 Aug 2016 10:45:30 +0000 (11:45 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 10 Aug 2016 22:24:03 +0000 (23:24 +0100)
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"