From efa5b394c40e26b9d553f46e39424bbb7ceb112d Mon Sep 17 00:00:00 2001 From: jujiang Date: Fri, 21 May 2021 13:53:54 -0400 Subject: [PATCH] SWDEV-286322 - add an attribute file to modify EOL Change-Id: I5ca49a0107e129a2f949d767d2d6e0169140191d [ROCm/hip commit: 187a33434a9fcf34390ef35ea85d88798e68b89b] --- projects/hip/.gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 projects/hip/.gitattributes diff --git a/projects/hip/.gitattributes b/projects/hip/.gitattributes new file mode 100644 index 0000000000..c7b2250c04 --- /dev/null +++ b/projects/hip/.gitattributes @@ -0,0 +1,11 @@ +# Set the default behavior, in case people don't have core.autolf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to have LF line endings on checkout. +*.c text eol=lf +*.cpp text eol=lf +*.cc text eol=lf +*.h text eol=lf +*.hpp text eol=lf +*.txt text eol=lf