mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
scripts: Improve a usage message in git-push-all.sh
Part of 31677.
This commit is contained in:
parent
51b792b000
commit
97da440f9e
1 changed files with 2 additions and 2 deletions
|
@ -99,9 +99,9 @@ if [ "$1" = "--" ]; then
|
|||
fi
|
||||
|
||||
if [ "$TEST_BRANCH_PREFIX" ]; then
|
||||
if [ "$UPSTREAM_REMOTE" = "${TOR_UPSTREAM_REMOTE_NAME:-upstream}" ]; then
|
||||
if [ "$UPSTREAM_REMOTE" = "$DEFAULT_UPSTREAM_REMOTE" ]; then
|
||||
echo "Pushing test branches ${TEST_BRANCH_PREFIX}_nnn to " \
|
||||
"$UPSTREAM_REMOTE is not allowed."
|
||||
"the default remote $DEFAULT_UPSTREAM_REMOTE is not allowed."
|
||||
echo "Usage: $0 -r <remote-name> -t <test-branch-prefix> <git-opts>"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue