From a5e5de00f0b607266cfd6577a2588c5ba088c2b9 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 19 Aug 2011 11:54:51 -0700 Subject: [PATCH] Update rfc.sh to add change-id to commit message. If the commit hook is installed, ammend the commit message so change-id gets added to it. Change-Id: If5c9b46364ae329b17f0b67ddedf594bad0468f1 Reviewed-on: https://review.openstack.org/283 Reviewed-by: Monty Taylor Tested-by: Jenkins --- tools/rfc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/rfc.sh b/tools/rfc.sh index 38016318..1bf411e6 100755 --- a/tools/rfc.sh +++ b/tools/rfc.sh @@ -35,6 +35,8 @@ set_hooks_commit_msg() curl -o $f $u || wget -O $f $u; chmod +x $f; + + GIT_EDITOR=/bin/true git commit --amend } add_remote()