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

Change-Id: I1bddaf78b8ee9f7420553bc67bca8e61193c62a1
This commit is contained in:
jujiang authored and Julia Jiang committed 2021-06-29 10:33:53 -04:00
1 parent e420815e75
commit cd23e6b436
1 file changed
+9
+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