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>
This commit is contained in:
Anand Avati 2012-08-07 00:14:43 -07:00
parent e404e9b81f
commit acf73966ab
2 changed files with 4 additions and 1 deletions

View File

@ -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.
this project or the open source license(s) involved.

3
rfc.sh
View File

@ -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;
}