aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2018-10-11 21:40:41 +0800
committerrene <rene@FreeBSD.org>2018-10-11 21:40:41 +0800
commite46c2323299624efef568354ca1c13fa6c84c665 (patch)
tree8045f012305ac10595ee76a75902cf77de138153 /Tools
parent2e85d6ad3b615e44a92366fc5319e0fd19ec829f (diff)
downloadfreebsd-ports-gnome-e46c2323299624efef568354ca1c13fa6c84c665.tar.gz
freebsd-ports-gnome-e46c2323299624efef568354ca1c13fa6c84c665.tar.zst
freebsd-ports-gnome-e46c2323299624efef568354ca1c13fa6c84c665.zip
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.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/rmport11
1 files changed, 7 insertions, 4 deletions
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?"`