.gitattributes: Exclude *.svg from CRLF/LF conversion
authorAnthony Fok <foka@debian.org>
Tue, 10 Jul 2018 03:05:47 +0000 (21:05 -0600)
committerAnthony Fok <foka@debian.org>
Tue, 10 Jul 2018 03:06:15 +0000 (21:06 -0600)
I ran into trouble after importing the Hugo v0.43 release tarball
into the Debian packaging git repository...

.gitattributes

index 1a5b760ec0c3e98586caf1b6bec14506d44a5c75..6994810cfbf1dc1888a3fdbc199214780c3cca60 100644 (file)
@@ -3,3 +3,6 @@
 
 # Go source files always have LF line endings
 *.go text eol=lf
+
+# SVG files should not be modified
+*.svg -text