OSDN Git Service

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>
Fri, 28 Nov 2014 22:52:43 +0000 (17:52 -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>

.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