From 1add28ba7eed357e47394bfe31f08b25e7fae01d Mon Sep 17 00:00:00 2001 From: Ilmari Lauhakangas Date: Wed, 26 May 2021 17:26:52 +0300 Subject: [PATCH] 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 Reviewed-by: Michael Stahl --- logerrit | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/logerrit b/logerrit index cfba094ac8d0..9c5999aa890b 100755 --- a/logerrit +++ b/logerrit @@ -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