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: |
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 \
diff --check origin/master '*' \
'!**/*akefile*' \
'!**/*.sln' \
'!**/*.vcproj' \
'!**/*.xpm'
diff --check origin/master \
':!Makefile.in' \
':!config.guess' \
':!config.sub' \
':!configure' \
':!descrip.mms' \
':!install-sh' \
':!**/*akefile*' \
':!**/*.sln' \
':!**/*.vcproj' \
':!**/*.xpm'