summaryrefslogtreecommitdiff
path: root/git-hooks
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2020-04-20 13:22:10 +0300
committerOrgad Shaneh <orgads@gmail.com>2020-04-21 10:06:28 +0000
commit8f06a5036a5baba82b01ad696923ea1e9eadb303 (patch)
tree953bdb3cc10add445fcd6aa378b7532d1c03e4fa /git-hooks
parent853cc2286f0058c94f833c47d830a304de3e59c9 (diff)
downloadqtrepotools-8f06a5036a5baba82b01ad696923ea1e9eadb303.tar.gz
Add Pick-to in the commit-msg hook
This is needed for placing it before Change-Id. Change-Id: I9d1f0b220872941a7cb23f9c2aea5c990409ada3 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks/gerrit_commit_msg_hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/gerrit_commit_msg_hook b/git-hooks/gerrit_commit_msg_hook
index e846dc8..4a5b334 100755
--- a/git-hooks/gerrit_commit_msg_hook
+++ b/git-hooks/gerrit_commit_msg_hook
@@ -20,7 +20,7 @@
unset GREP_OPTIONS
-CHANGE_ID_AFTER="Bug|Issue|Task-number|Fixes"
+CHANGE_ID_AFTER="Bug|Issue|Task-number|Fixes|Pick-to"
MSG="$1"
# Check for, and add if missing, a unique Change-Id