summaryrefslogtreecommitdiffstats
path: root/rfc.sh
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-08-14 16:11:40 -0700
committerAnand Avati <avati@redhat.com>2013-08-14 22:29:33 -0700
commitbc18c15ac128719f1d4ae9c673431dd4d306d26d (patch)
treec1cfcc9274482194f7875af3589d7c902a869d90 /rfc.sh
parentc1c96e1b5836b7ed1c501cc176da563614e2081e (diff)
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/5633
Diffstat (limited to 'rfc.sh')
-rwxr-xr-xrfc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfc.sh b/rfc.sh
index 313a761..262f8b2 100755
--- a/rfc.sh
+++ b/rfc.sh
@@ -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;