transport: remove transport_verify_remote_names

Remove 'transprot_verify_remote_names()' because all callers have
migrated to using 'struct refspec' which performs the same checks in
'parse_refspec()'.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Brandon Williams
2018-05-16 15:58:19 -07:00
committed by Junio C Hamano
parent 168dba68c9
commit 7a78a82b6c
3 changed files with 0 additions and 28 deletions

View File

@ -265,8 +265,6 @@ int cmd_send_pack(int argc, const char **argv, const char *prefix)
BUG("unknown protocol version");
}
transport_verify_remote_names(rs.raw_nr, rs.raw);
local_refs = get_local_heads();
flags = MATCH_REFS_NONE;