From 10ad00012aadc9024cffc451fc72c74cba797429 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Thu, 11 Oct 2018 13:40:41 +0000 Subject: rmport: if the user edited the commit message, ask again afterwards. This is in line with asking for recreating the diffs and "fixes" the workflow. --- Tools/scripts/rmport | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Tools') diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index 734247676e38..61738ab8aa57 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -405,10 +405,13 @@ commit() log "Your commit message is:" cat svnlog - answer=`ask "Do you want to edit again your commit message?"` - if [ "${answer}" = "y" ] ; then - $EDITOR svnlog - fi + answer=y + while [ "${answer}" = "y" ] ; do + answer=`ask "Do you want to edit your commit message again?"` + if [ "${answer}" = "y" ] ; then + $EDITOR svnlog + fi + done answer=`ask "Do you want to commit now?"` -- cgit v1.2.3