summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>2009-12-09 17:26:31 +0200
committerJunio C Hamano <gitster@pobox.com>2009-12-09 12:40:42 -0800
commit61b075bd3e69cbdc9010a7f817b2017455dd36a7 (patch)
treef43a08f883021e92b35e72c2a30eab1cfb9a7298 /transport.h
parentaa5af9749f53f7e44bef36c5c40918295430fb03 (diff)
downloadgit-61b075bd3e69cbdc9010a7f817b2017455dd36a7.tar.gz
Support taking over transports
Add support for taking over transports that turn out to be smart. Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
-rw-r--r--transport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/transport.h b/transport.h
index e90c285bbc..781db2ec82 100644
--- a/transport.h
+++ b/transport.h
@@ -130,6 +130,8 @@ int transport_fetch_refs(struct transport *transport, struct ref *refs);
void transport_unlock_pack(struct transport *transport);
int transport_disconnect(struct transport *transport);
char *transport_anonymize_url(const char *url);
+void transport_take_over(struct transport *transport,
+ struct child_process *child);
/* Transport methods defined outside transport.c */
int transport_helper_init(struct transport *transport, const char *name);