1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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.
This commit is contained in:
Rene Ladan 2018-10-11 13:40:41 +00:00
parent 735f8df984
commit 10ad00012a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481824

View File

@ -405,10 +405,13 @@ commit()
log "Your commit message is:" log "Your commit message is:"
cat svnlog cat svnlog
answer=`ask "Do you want to edit again your commit message?"` answer=y
if [ "${answer}" = "y" ] ; then while [ "${answer}" = "y" ] ; do
$EDITOR svnlog answer=`ask "Do you want to edit your commit message again?"`
fi if [ "${answer}" = "y" ] ; then
$EDITOR svnlog
fi
done
answer=`ask "Do you want to commit now?"` answer=`ask "Do you want to commit now?"`