X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gitconfig.m4;h=f0e268dc5e5c9a4a3a953da6dc473d0a4530c60a;hb=9c32967fd7df445e60d38a022a83e5abeb451c06;hp=f05576ab314d052633f560ede759f94214a94895;hpb=e70c7152d17fc4a03cb1def6b3ce984a4d73abea;p=config%2Fdotfiles.git diff --git a/gitconfig.m4 b/gitconfig.m4 index f05576a..f0e268d 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -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