From 9c32967fd7df445e60d38a022a83e5abeb451c06 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 5 Jul 2010 21:12:21 +0200 Subject: [PATCH] gitconfig: Allow diffing of PDF files. --- gitconfig.m4 | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.44.1