diff options
author | rene <rene@FreeBSD.org> | 2018-10-11 21:40:41 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2018-10-11 21:40:41 +0800 |
commit | e46c2323299624efef568354ca1c13fa6c84c665 (patch) | |
tree | 8045f012305ac10595ee76a75902cf77de138153 /Tools | |
parent | 2e85d6ad3b615e44a92366fc5319e0fd19ec829f (diff) | |
download | freebsd-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-x | Tools/scripts/rmport | 11 |
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?"` |