Unset 'text' attribute for *.csar files explicitly 80/100580/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 22 Jan 2020 07:59:56 +0000 (08:59 +0100)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 22 Jan 2020 08:03:56 +0000 (09:03 +0100)
*.csar files should have "-text" attribute assigned to avoid end
of line substitution on checkouts and other git operations. Csar
files (zip file) being binary files may not be detected as such
in older versions of git (i.e. in CI Ubuntu 16.04 minions), so
explicit git attribute needs to be set.

Change-Id: Ib8f9e5291091075a369387d3f87b2def7e9dac51
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1418

.gitattributes

index 6313b56..21a4e0a 100644 (file)
@@ -1 +1,2 @@
 * text=auto eol=lf
+*.csar -text