summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--CONTRIBUTING2
-rwxr-xr-xrfc.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/CONTRIBUTING b/CONTRIBUTING
index 8b3baa7e5f6..7bccd88d7e5 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 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;
}