X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/930a7d0f5b398556a878f8106451f31ab3c9a99a..5223adaa187d2231f03f59a44473b93192bc6968:/dot/gitconfig.in diff --git a/dot/gitconfig.in b/dot/gitconfig.in index 20235cb..0ec6ed2 100644 --- a/dot/gitconfig.in +++ b/dot/gitconfig.in @@ -7,6 +7,9 @@ attributesfile = @profile@/git/attributes whitespace = trailing-space,space-before-tab,indent-with-non-tab +[advice] + ignoredHook = false + [user] name = Mark Wooding email = mdw@distorted.org.uk @@ -87,9 +90,9 @@ ui = auto column dense [pager] - log = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | mdw-pager - show = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | mdw-pager - diff = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | mdw-pager + diff = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager" + log = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager" + show = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager" [alias] do = "!sh -e -c ' \