diff --git a/hooks/commit-msg b/hooks/commit-msg index 92fdc545..70d67eaf 100755 --- a/hooks/commit-msg +++ b/hooks/commit-msg @@ -51,7 +51,7 @@ fi # Avoid the --in-place option which only appeared in Git 2.8 # Avoid the --if-exists option which only appeared in Git 2.15 -if ! git -c trailer.ifexists=doNothing interpret-trailers --where start \ +if ! git -c trailer.ifexists=doNothing interpret-trailers \ --trailer "Change-Id: I${random}" < "$1" > "${dest}" ; then echo "cannot insert change-id line in $1" exit 1