File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ if test -t 1; then
2525 fi
2626fi
2727
28- if git --no-pager diff --diff-filter=d --name-only ${TARGET_BRANCH} | grep -v -E " (^src/(drivers |ui/fonts)|.*ugui.*|.*base32.*)" | grep -E " ^(src|test)" | grep -E " \.(c|h)\$ " | xargs -n1 " $CLANGFORMAT " -output-replacements-xml | grep -c " <replacement " > /dev/null; then
28+ if git --no-pager diff --diff-filter=d --name-only ${TARGET_BRANCH} | grep -v -E " (^src/(rust |ui/fonts)|.*ugui.*|.*base32.*)" | grep -E " ^(src|test)" | grep -E " \.(c|h)\$ " | xargs -n1 " $CLANGFORMAT " -output-replacements-xml | grep -c " <replacement " > /dev/null; then
2929 echo -e " ${red} Not $CLANGFORMAT clean${normal} "
3030 # Apply CF to the files
31- git --no-pager diff --diff-filter=d --name-only ${TARGET_BRANCH} | grep -v -E " (^src/(drivers |ui/fonts)|.*ugui.*|.*base32.*)" | grep -E " ^(src|test)" | grep -E " \.(c|h)\$ " | xargs -n1 " $CLANGFORMAT " -i
31+ git --no-pager diff --diff-filter=d --name-only ${TARGET_BRANCH} | grep -v -E " (^src/(rust |ui/fonts)|.*ugui.*|.*base32.*)" | grep -E " ^(src|test)" | grep -E " \.(c|h)\$ " | xargs -n1 " $CLANGFORMAT " -i
3232 # Print list of files that weren't formatted correctly
3333 echo -e " Incorrectly formatted files:"
3434 git --no-pager diff --name-only
You can’t perform that action at this time.
0 commit comments