summaryrefslogtreecommitdiff
path: root/transport-helper.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2020-06-24 14:46:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-06-24 16:14:21 (GMT)
commit4d04658d8b5c72d2ebbb3aec7b06228e2ae1d327 (patch)
tree7f13e96cf5577016cd419927e7079a082460cd4a /transport-helper.c
parent489947cee5095b168cbac111ff7bd1eadbbd90dd (diff)
downloadgit-4d04658d8b5c72d2ebbb3aec7b06228e2ae1d327.zip
git-4d04658d8b5c72d2ebbb3aec7b06228e2ae1d327.tar.gz
git-4d04658d8b5c72d2ebbb3aec7b06228e2ae1d327.tar.bz2
send-pack/transport-helper: avoid mentioning a particular branch
When trying to push all matching branches, but none match, we offer a message suggesting to push the `master` branch. However, we want to step away from making that branch any more special than any other branch, so let's reword that message to mention no branch in particular. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport-helper.c')
-rw-r--r--transport-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transport-helper.c b/transport-helper.c
index a46afcb..8a711cd 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -1046,7 +1046,7 @@ static int push_refs(struct transport *transport,
if (!remote_refs) {
fprintf(stderr,
_("No refs in common and none specified; doing nothing.\n"
- "Perhaps you should specify a branch such as 'master'.\n"));
+ "Perhaps you should specify a branch.\n"));
return 0;
}