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>
Tue, 17 Oct 2023 04:19:16 +0000 (13:19 +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 7a7c416..564b6c2 100644 (file)
@@ -3,6 +3,8 @@
 # Denote all files that are truly binary and should not be modified
 *.bin binary
 *.bmp binary
+*.gz binary
+*.png binary
 *.ttf binary
 *.gz binary
 *.png binary