diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2009-09-03 22:13:49 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-03 21:27:36 -0700 |
commit | c9e388bb48bdafdf19574add915ab0ce33a1907d (patch) | |
tree | 3b10f2c574135edf933e4fa5b80a9b08b8b6b7aa /transport.c | |
parent | ad17f01399a9220b78678b322bd42b0a29898e01 (diff) | |
download | git-c9e388bb48bdafdf19574add915ab0ce33a1907d.tar.gz |
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.c')
-rw-r--r-- | transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c index 9935c85cf3..b654d71d5a 100644 --- a/transport.c +++ b/transport.c @@ -818,7 +818,7 @@ struct transport *transport_get(struct remote *remote, const char *url) } else if (!prefixcmp(url, "http://") || !prefixcmp(url, "https://") || !prefixcmp(url, "ftp://")) { - transport_helper_init(ret); + transport_helper_init(ret, "curl"); #ifdef NO_CURL error("git was compiled without libcurl support."); #else |