From: Simon Ruderich Date: Thu, 25 Nov 2010 17:38:39 +0000 (+0100) Subject: gitconfig: Allow diffing of gzip files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=679839bd587c25c8f760c03042bdd5b76b5dbba9;p=config%2Fdotfiles.git gitconfig: Allow diffing of gzip files. --- diff --git a/gitconfig.m4 b/gitconfig.m4 index 65d6b26..67d4213 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -62,6 +62,8 @@ include(../lib.m4) # Allow diffing of some binary files. # `pdftotext-` is a wrapper around pdftotext which writes to stdout. # `sqlite3dump` is a wrapper calling `sqlite3 database-file .dump`. +[diff "gzip"] + textconv = gzip -d -c [diff "pdf"] textconv = pdftotext- [diff "sqlite"]