From 8f06a5036a5baba82b01ad696923ea1e9eadb303 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 20 Apr 2020 13:22:10 +0300 Subject: Add Pick-to in the commit-msg hook This is needed for placing it before Change-Id. Change-Id: I9d1f0b220872941a7cb23f9c2aea5c990409ada3 Reviewed-by: Paul Wicking --- git-hooks/gerrit_commit_msg_hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-hooks') 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 -- cgit v1.2.1