diff options
author | Brandon Williams <bmwill@google.com> | 2018-05-17 00:58:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-17 23:19:44 +0200 |
commit | 7a78a82b6c3bb2a6ebaddf3354b6d97939bdb2ab (patch) | |
tree | 90d4a2725ad3d357fa521a82c3634d43805be681 /transport.h | |
parent | send-pack: store refspecs in a struct refspec (diff) | |
download | git-7a78a82b6c3bb2a6ebaddf3354b6d97939bdb2ab.tar.xz git-7a78a82b6c3bb2a6ebaddf3354b6d97939bdb2ab.zip |
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>
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/transport.h b/transport.h index e2c809af4d..bac085ce0e 100644 --- a/transport.h +++ b/transport.h @@ -227,8 +227,6 @@ int transport_helper_init(struct transport *transport, const char *name); int bidirectional_transfer_loop(int input, int output); /* common methods used by transport.c and builtin/send-pack.c */ -void transport_verify_remote_names(int nr_heads, const char **heads); - void transport_update_tracking_ref(struct remote *remote, struct ref *ref, int verbose); int transport_refs_pushed(struct ref *ref); |