From: Simon Ruderich Date: Mon, 5 Jul 2010 19:12:21 +0000 (+0200) Subject: gitconfig: Allow diffing of PDF files. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=9c32967fd7df445e60d38a022a83e5abeb451c06 gitconfig: Allow diffing of PDF files. --- 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