summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-05-26 17:26:52 +0300
committerMichael Stahl <michael.stahl@allotropia.de>2021-06-01 16:39:03 +0200
commit1add28ba7eed357e47394bfe31f08b25e7fae01d (patch)
tree2b71bf23e024bde75ca879698390a75f6f8e1559
parentfca96bf4b21ca47a98a2bd0114f7c22935acc54b (diff)
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>
-rwxr-xr-xlogerrit14
1 files 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