]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
gitconfig: Allow diffing of gzip files.
authorSimon Ruderich <simon@ruderich.org>
Thu, 25 Nov 2010 17:38:39 +0000 (18:38 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 25 Nov 2010 17:38:39 +0000 (18:38 +0100)
gitconfig.m4

index 65d6b26e3cc938fb711d3d6e78aee7f698407455..67d4213909808896a0f43891a6f7281fa6bdbb13 100644 (file)
@@ -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"]