From bd347094d58ec8ac9bd3eaa532e88de92b645f6a Mon Sep 17 00:00:00 2001 From: Sylwester Nawrocki Date: Wed, 2 Dec 2020 09:36:29 +0100 Subject: [PATCH] gitattributes: Set binary attribute for *.gz and *.png files 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 --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index 899473a..6c88b69 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 -- 2.7.4