Files
rocm-systems/projects/clr/hipamd/.gitattributes
T
jujiang 6545acb71d SWDEV-286322 - add support for auto-removal of trailing whitespace
Change-Id: I1bddaf78b8ee9f7420553bc67bca8e61193c62a1


[ROCm/clr commit: cd23e6b436]
2021-06-29 10:33:53 -04:00

20 rivejä
624 B
Plaintext

# 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