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 7af02ca commit 0919649Copy full SHA for 0919649
hooks/syntaxchecker/php/check.sh renamed to hooks/syntaxchecker/php.sh
hooks/syntaxchecker/pre-commit
@@ -9,9 +9,9 @@ fi
9
for FILE in `git diff-index --cached --name-status $against -- | cut --characters=3-`; do
10
if [ -f $FILE ]
11
then
12
- if [ -f $GIT_DIR/hooks/syntaxchecker/${FILE##*.}/check.sh ]
+ if [ -f $GIT_DIR/hooks/syntaxchecker/${FILE##*.}.sh ]
13
14
- source $GIT_DIR/hooks/syntaxchecker/${FILE##*.}/check.sh
+ source $GIT_DIR/hooks/syntaxchecker/${FILE##*.}.sh
15
fi
16
17
done
0 commit comments