summaryrefslogtreecommitdiffstats
path: root/rfc.sh
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2012-08-07 00:14:43 -0700
committerAnand Avati <avati@redhat.com>2012-08-15 10:39:43 -0700
commitacf73966abd3ad3fe341a933f76c821e19fd7b95 (patch)
tree0aef7297eef9dfc997fa241bde4314e9d5915a05 /rfc.sh
parente404e9b81f18c0a36a5c67ebf041ac0a00ca2eb1 (diff)
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 <avati@redhat.com> Reviewed-on: http://review.gluster.com/3785 Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rfc.sh')
-rwxr-xr-xrfc.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/rfc.sh b/rfc.sh
index b06ac512d7d..2c91c30ed08 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;
}