fetch.c: fix typo in a warning message

Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ralf Thielow 2019-10-31 20:41:46 +00:00 committed by Junio C Hamano
parent 849e43680d
commit 391c7e40b5

View File

@ -1411,7 +1411,7 @@ static int do_fetch(struct transport *transport,
for (rm = ref_map; rm; rm = rm->next) { for (rm = ref_map; rm; rm = rm->next) {
if (!rm->peer_ref) { if (!rm->peer_ref) {
if (source_ref) { if (source_ref) {
warning(_("multiple branch detected, incompatible with --set-upstream")); warning(_("multiple branches detected, incompatible with --set-upstream"));
goto skip; goto skip;
} else { } else {
source_ref = rm; source_ref = rm;