gitattributes: Set binary attribute for *.gz and *.png files
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 2 Dec 2020 08:36:29 +0000 (09:36 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2022 04:31:08 +0000 (13:31 +0900)
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 1879a2d..d11e80e 100644 (file)
@@ -2,5 +2,7 @@
 * text eol=lf
 # Denote all files that are truly binary and should not be modified
 *.bmp binary
+*.gz binary
+*.png binary
 *.ttf binary
 *.gz binary