diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2020-06-24 16:46:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-24 18:14:21 +0200 |
commit | 4d04658d8b5c72d2ebbb3aec7b06228e2ae1d327 (patch) | |
tree | 7f13e96cf5577016cd419927e7079a082460cd4a /send-pack.c | |
parent | fmt-merge-msg: stop treating `master` specially (diff) | |
download | git-4d04658d8b5c72d2ebbb3aec7b06228e2ae1d327.tar.xz git-4d04658d8b5c72d2ebbb3aec7b06228e2ae1d327.zip |
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 'send-pack.c')
-rw-r--r-- | send-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/send-pack.c b/send-pack.c index 0abee22283..19eb9b04e4 100644 --- a/send-pack.c +++ b/send-pack.c @@ -406,7 +406,7 @@ int send_pack(struct send_pack_args *args, 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; } if (args->atomic && !atomic_supported) |