From acf73966abd3ad3fe341a933f76c821e19fd7b95 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Tue, 7 Aug 2012 00:14:43 -0700 Subject: rfc.sh: set 'Change-Id: ' header on first run Let first run of rfc.sh include 'Change-Id:' as well Change-Id: I7b45a00d98f8c70ca3658c223a98f412f20cbb6f BUG: 764890 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.com/3785 Tested-by: Gluster Build System --- CONTRIBUTING | 2 +- rfc.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING b/CONTRIBUTING index 8b3baa7e5..7bccd88d7 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -22,4 +22,4 @@ are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with - this project or the open source license(s) involved. \ No newline at end of file + this project or the open source license(s) involved. diff --git a/rfc.sh b/rfc.sh index b06ac512d..2c91c30ed 100755 --- a/rfc.sh +++ b/rfc.sh @@ -16,6 +16,9 @@ set_hooks_commit_msg() curl -o $f $u || wget -O $f $u; chmod +x .git/hooks/commit-msg; + + # Let the 'Change-Id: ' header get assigned on first run of rfc.sh + GIT_EDITOR=true git commit --amend; } -- cgit