Really ignore TABs in makefiles etc in the whitespace check

Add missing ":" in the beginning of Git pathspecs to make the exclusions
really work.

Also add entries for Makefile.in, which is not caught by **/*akefile*,
and other files in the root directory containing hard TABs.
This commit is contained in:
Vadim Zeitlin
2020-10-06 02:14:46 +02:00
parent 1668b0bb4e
commit 96eb09a383

View File

@@ -55,8 +55,14 @@ jobs:
run: | run: |
git fetch --depth=1 origin master git fetch --depth=1 origin master
git -c core.whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol,tab-in-indent \ git -c core.whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol,tab-in-indent \
diff --check origin/master '*' \ diff --check origin/master \
'!**/*akefile*' \ ':!Makefile.in' \
'!**/*.sln' \ ':!config.guess' \
'!**/*.vcproj' \ ':!config.sub' \
'!**/*.xpm' ':!configure' \
':!descrip.mms' \
':!install-sh' \
':!**/*akefile*' \
':!**/*.sln' \
':!**/*.vcproj' \
':!**/*.xpm'