Treat all '*.pnm' files as non-text file
authorReinhard Tartler <siretart@tauware.de>
Fri, 28 Nov 2014 14:52:50 +0000 (09:52 -0500)
committerReinhard Tartler <siretart@tauware.de>
Mon, 1 Dec 2014 13:02:37 +0000 (08:02 -0500)
This convinces the pre-receive hook to not consider all *.pnm files as
text files to reduce the patch sizes and avoids triggering whitespace
checks,

Contains a correction by Janne Grunau <janne-libav@jannau.net>

(cherry picked from commit 0f257e29c5520b215e573e7e3abde8e5a4743309)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..a900528
--- /dev/null
@@ -0,0 +1 @@
+*.pnm -diff -text