]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.m4
gitconfig: Don't use pager with clean.
[config/dotfiles.git] / gitconfig.m4
index f05576ab314d052633f560ede759f94214a94895..2f1ee7afce180aed06e31f5ce2839b5245cba1d9 100644 (file)
@@ -19,7 +19,7 @@ include(../lib.m4)
 # Use pager for the following commands.
 [pager]
        status = yes
-       clean = yes
+       tag = yes
 
 [alias]
        # Shortcuts for often used commands.
@@ -27,6 +27,7 @@ include(../lib.m4)
        ci = commit -v
        d  = diff
        di = diff
+       dc = diff --cached
        s  = status
        st = status
        l  = log
@@ -55,6 +56,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