From 679839bd587c25c8f760c03042bdd5b76b5dbba9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 25 Nov 2010 18:38:39 +0100 Subject: [PATCH] gitconfig: Allow diffing of gzip files. --- gitconfig.m4 | 2 ++ 1 file changed, 2 insertions(+) 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"] -- 2.45.2