summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 22:58:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-17 21:19:44 (GMT)
commit7a78a82b6c3bb2a6ebaddf3354b6d97939bdb2ab (patch)
tree90d4a2725ad3d357fa521a82c3634d43805be681 /transport.h
parent168dba68c9ee2f35b40ec306a7b984e90cce2648 (diff)
downloadgit-7a78a82b6c3bb2a6ebaddf3354b6d97939bdb2ab.zip
git-7a78a82b6c3bb2a6ebaddf3354b6d97939bdb2ab.tar.gz
git-7a78a82b6c3bb2a6ebaddf3354b6d97939bdb2ab.tar.bz2
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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/transport.h b/transport.h
index e2c809a..bac085c 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);