aboutsummaryrefslogtreecommitdiff
path: root/scripts/git
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-09-10 12:12:04 +1000
committerteor <teor@torproject.org>2019-09-10 12:12:04 +1000
commit97da440f9efeac6c70983ba5de01a9104048d612 (patch)
tree6ba9c28349e2c3fbf36af5f6ff356a9ac556bc83 /scripts/git
parent51b792b000d8560cf5b61b887eadcd9aece27d04 (diff)
downloadtor-97da440f9efeac6c70983ba5de01a9104048d612.tar.gz
tor-97da440f9efeac6c70983ba5de01a9104048d612.zip
scripts: Improve a usage message in git-push-all.sh
Part of 31677.
Diffstat (limited to 'scripts/git')
-rwxr-xr-xscripts/git/git-push-all.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/git/git-push-all.sh b/scripts/git/git-push-all.sh
index 701fea40f2..ccbca012fa 100755
--- a/scripts/git/git-push-all.sh
+++ b/scripts/git/git-push-all.sh
@@ -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