summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2009-09-04 02:13:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-09-04 04:27:36 (GMT)
commitc9e388bb48bdafdf19574add915ab0ce33a1907d (patch)
tree3b10f2c574135edf933e4fa5b80a9b08b8b6b7aa /transport.h
parentad17f01399a9220b78678b322bd42b0a29898e01 (diff)
downloadgit-c9e388bb48bdafdf19574add915ab0ce33a1907d.zip
git-c9e388bb48bdafdf19574add915ab0ce33a1907d.tar.gz
git-c9e388bb48bdafdf19574add915ab0ce33a1907d.tar.bz2
Make the "traditionally-supported" URLs a special case
Instead of trying to make http://, https://, and ftp:// URLs indicative of some sort of pattern of transport helper usage, make them a special case which runs the "curl" helper, and leave the mechanism by which arbitrary helpers will be chosen entirely to future work. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
-rw-r--r--transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.h b/transport.h
index df87264..b49c10f 100644
--- a/transport.h
+++ b/transport.h
@@ -78,6 +78,6 @@ int transport_disconnect(struct transport *transport);
char *transport_anonymize_url(const char *url);
/* Transport methods defined outside transport.c */
-int transport_helper_init(struct transport *transport);
+int transport_helper_init(struct transport *transport, const char *name);
#endif