SWDEV-286322 - add support for auto-removal of trailing whitespace

Change-Id: I1bddaf78b8ee9f7420553bc67bca8e61193c62a1
This commit is contained in:
jujiang
2021-06-28 12:10:39 -04:00
committed by Julia Jiang
parent e420815e75
commit cd23e6b436
+9
View File
@@ -9,3 +9,12 @@
*.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