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:
committed by
Junio C Hamano
parent
168dba68c9
commit
7a78a82b6c
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user