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>
This commit is contained in:

committed by
Junio C Hamano

parent
489947cee5
commit
4d04658d8b
@ -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)
|
||||
|
Reference in New Issue
Block a user