rfc.sh: Include BUG: header even in first run

Set the commit hook before entiring editor mode. This fixes the
error where rfc.sh after first clone does not set BUG: header

Change-Id: Ic0e9f2d3f656bc81e29d35556022fbdff2f61225
BUG: 764890
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/5632
This commit is contained in:
Anand Avati 2013-08-14 16:11:40 -07:00
parent 1ea8ee6bc9
commit 3d509b1b5a

4
rfc.sh
View File

@ -85,13 +85,13 @@ assert_diverge()
main()
{
set_hooks_commit_msg;
if [ -e "$1" ]; then
editor_mode "$@";
return;
fi
set_hooks_commit_msg;
rebase_changes;
assert_diverge;