SWDEV-472710 - Adding gitattributes and remove trailing spaces

Change-Id: Ic8ad2071745f0ffe6a2e120bfebb6d90bf270f87


[ROCm/clr commit: dd30e0e893]
Tá an tiomantas seo le fáil i:
Julia Jiang
2024-07-10 15:30:15 -04:00
tiomanta ag Julia Jiang
tuismitheoir 3623e54842
tiomantas 3c7ae28776
D'athraigh 10 comhad le 35 breiseanna agus 15 scriosta
+20
Féach ar an gComhad
@@ -0,0 +1,20 @@
# 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
# Define files to support auto-remove trailing white space
# Need to run the command below, before add modified file(s) to the staging area
# git config filter.trimspace.clean 'sed -e "s/[[:space:]]*$//g"'
*.cpp filter=trimspace
*.c filter=trimspace
*.h filter=trimspacecpp
*.hpp filter=trimspace
*.md filter=trimspace