logerrit: drop some subcommands in favour of Gerrit defaults

submit-wip and submit-private don't really add value

Change-Id: I4e30b213f5d6317538aad73fcb68e14e7cbb5032
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116198
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
This commit is contained in:
Ilmari Lauhakangas 2021-05-26 17:26:52 +03:00 committed by Michael Stahl
parent fca96bf4b2
commit 1add28ba7e

View File

@ -59,8 +59,8 @@ case "$1" in
echo
echo " --- for submitters:"
echo " submit [BRANCH] submit your change for review"
echo " submit-private [BRANCH] submit your change as private"
echo " submit-wip [BRANCH] submit your change as work-in-progress"
echo " submit [BRANCH]%private submit your change as private"
echo " submit [BRANCH]%wip submit your change as work-in-progress"
echo " nextchange [BRANCH] reset branch to the remote to start with the next change"
echo " testfeature [BRANCH] [CHANGEID]"
echo " trigger a test of a feature branch on gerrit"
@ -159,16 +159,6 @@ case "$1" in
submit)
submit "$2"
;;
submit-private)
submit "$2" '%private'
;;
submit-wip)
submit "$2" '%wip'
;;
submit-draft)
echo "Please use submit-private instead of submit-draft."
exit 1
;;
nextchange)
if test -n "$(git status -s -uno)"
then