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:
parent
1668b0bb4e
commit
96eb09a383
16
.github/workflows/code_checks.yml
vendored
16
.github/workflows/code_checks.yml
vendored
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user