]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.m4
gitconfig: Also use the pager with tag.
[config/dotfiles.git] / gitconfig.m4
index 0cfd46a42972116a17be86ba294d8b081d38130d..2b9889ec70fe87d3d686bc1e6dea238612257db4 100644 (file)
@@ -20,6 +20,7 @@ include(../lib.m4)
 [pager]
        status = yes
        clean = yes
+       tag = yes
 
 [alias]
        # Shortcuts for often used commands.
@@ -56,6 +57,11 @@ include(../lib.m4)
        # Detect copies and renames.
        renames = copy
 
+# Allow diffing of PDF files. `pdftotext-` is a wrapper around pdftotext which
+# writes to stdout.
+[diff "pdf"]
+       textconv = pdftotext-
+
 [merge]
 IF(OS, darwin)
        tool = opendiff