gitattributes: Set binary attribute for *.gz and *.png files 99/248799/2
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 2 Dec 2020 08:36:29 +0000 (09:36 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 4 Dec 2020 03:43:16 +0000 (03:43 +0000)
After commit ("1f35137 Add .gitattributes for line endings") all files
have text attribute set and we need such change to ensure content of
the *.gz and *.png files remains unmodified.

$ git check-attr -a -- *.gz *.png
*.gz: binary: set
*.gz: diff: unset
*.gz: merge: unset
*.gz: text: unset
*.gz: eol: lf
*.png: binary: set
*.png: diff: unset
*.png: merge: unset
*.png: text: unset
*.png: eol: lf

Change-Id: Ie7b1d48761c01c045bdcdae3b0ac66e64af79326
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
.gitattributes

index 899473ab0fbbd38f4f5cc0690042da3c1c619ac5..6c88b692455717b5e54cb893c46b81c32616b579 100644 (file)
@@ -2,4 +2,6 @@
 * text eol=lf
 # Denote all files that are truly binary and should not be modified
 *.bmp binary
+*.gz binary
+*.png binary
 *.ttf binary