summaryrefslogtreecommitdiffstats
path: root/hooks/commit-msg
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/commit-msg')
-rwxr-xr-xhooks/commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/commit-msg b/hooks/commit-msg
index 70d67eaf..92fdc545 100755
--- a/hooks/commit-msg
+++ b/hooks/commit-msg
@@ -51,7 +51,7 @@ fi
51 51
52# Avoid the --in-place option which only appeared in Git 2.8 52# Avoid the --in-place option which only appeared in Git 2.8
53# Avoid the --if-exists option which only appeared in Git 2.15 53# Avoid the --if-exists option which only appeared in Git 2.15
54if ! git -c trailer.ifexists=doNothing interpret-trailers \ 54if ! git -c trailer.ifexists=doNothing interpret-trailers --where start \
55 --trailer "Change-Id: I${random}" < "$1" > "${dest}" ; then 55 --trailer "Change-Id: I${random}" < "$1" > "${dest}" ; then
56 echo "cannot insert change-id line in $1" 56 echo "cannot insert change-id line in $1"
57 exit 1 57 exit 1