aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-11-26 17:35:10 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2011-11-26 17:35:35 -0500
commit26d01d4408a25d70e2bbe32992a1c348ddefff04 (patch)
treef217cd919fcf36bdac745993b63da7d2e98ca5f0 /git-tools
parent[ticket/10093] Document phpbb.hooks.commit-msg.fatal setting. (diff)
downloadphpbb-26d01d4408a25d70e2bbe32992a1c348ddefff04.tar.gz
phpbb-26d01d4408a25d70e2bbe32992a1c348ddefff04.tar.bz2
phpbb-26d01d4408a25d70e2bbe32992a1c348ddefff04.zip
[ticket/10093] Respect phpbb.hooks.commit-msg.fatal on syntax errors.
PHPBB3-10093
Diffstat (limited to 'git-tools')
-rwxr-xr-xgit-tools/hooks/commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-tools/hooks/commit-msg b/git-tools/hooks/commit-msg
index 03a602c16c..39d5bb3350 100755
--- a/git-tools/hooks/commit-msg
+++ b/git-tools/hooks/commit-msg
@@ -254,7 +254,7 @@ do
echo ">> $line" >&2;
echo -n "Expecting: " >&2;
echo "$expecting" | sed 's/ /, /g' >&2;
- exit $err;
+ quit $err;
fi
i=$(( $i + 1 ));