We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f87cc commit 5d5bb34Copy full SHA for 5d5bb34
scripts/prepare-commit.sh
@@ -99,13 +99,11 @@ if [ -s "$ASTYLEDIFF" ]; then
99
else
100
echo "Files changed (see $ASTYLEDIFF)"
101
fi
102
- exit 1
103
104
rm $ASTYLEDIFF
105
106
107
108
-
109
# verify SIP files
110
SIPIFYDIFF=sipify.$REV.diff
111
>$SIPIFYDIFF
@@ -145,6 +143,9 @@ if [[ -s "$SIPIFYDIFF" ]]; then
145
143
146
144
rm $SIPIFYDIFF
147
+if [ -s "$ASTYLEDIFF" ]; then
+ exit 1
148
+fi
149
150
# If there are whitespace errors, print the offending file names and fail.
151
exec git diff-index --check --cached HEAD --
0 commit comments