aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-01-22 08:59:56 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-01-22 09:03:56 +0100
commit7b5a256da228beba672d057251b794360172a41d (patch)
tree4faa2c697233540c9cd292b3d255d0bac677ea52 /.gitattributes
parent9f54c00e36c66ffbd232f443a0a56114d06361dc (diff)
Unset 'text' attribute for *.csar files explicitly
*.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
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 6313b56c..21a4e0a7 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,2 @@
* text=auto eol=lf
+*.csar -text