aboutsummaryrefslogtreecommitdiffstats
path: root/post-commit
diff options
context:
space:
mode:
Diffstat (limited to 'post-commit')
-rwxr-xr-x[-rw-r--r--]post-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-commit b/post-commit
index b0587ba..c84075e 100644..100755
--- a/post-commit
+++ b/post-commit
@@ -1,5 +1,5 @@
#!/bin/sh
-set -eux
+set -eu
BUG_ID=$(git format-patch --stdout HEAD~|git interpret-trailers --parse|awk -F '#' '/^Fixes: gb#/ { print $2}')
if [ -n "$BUG_ID" ] ; then