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