From 11ca0bea43453ac938cf797327a0e6f745eb142a Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 19 Aug 2011 11:58:08 -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: I3d256a6fa73e789b02bad86421dd95e0a1f52a78 Reviewed-on: https://review.openstack.org/284 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 3801631886..1bf411e66d 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()