diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-24 12:19:13 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-24 13:40:42 +0200 |
commit | 0862f617da08cb371a647b3e454745f3b570de63 (patch) | |
tree | 9960b491dc1cc4d447456067bc8585c88fda138f /src/transport.c | |
parent | 4bb6ffb6bb8ad9d49eb173350be965183cd09c96 (diff) | |
download | libgit2-cmn/remove-supported-url.tar.gz |
remote: delete git_remote_supported_url()cmn/remove-supported-url
This function does not in fact tell us anything, as almost anything with
a colon in it is a valid rsync-style SSH path; it can not tell us that
we do not support ftp or afp or similar as those are still valid SSH
paths and we do support that.
Diffstat (limited to 'src/transport.c')
-rw-r--r-- | src/transport.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/transport.c b/src/transport.c index d42c92684..a41ea0add 100644 --- a/src/transport.c +++ b/src/transport.c @@ -212,15 +212,6 @@ done: return error; } -int git_remote_supported_url(const char* url) -{ - git_transport_cb fn; - void *param; - - /* The only error we expect is ENOTFOUND */ - return !transport_find_fn(&fn, url, ¶m); -} - int git_transport_init(git_transport *opts, unsigned int version) { GIT_INIT_STRUCTURE_FROM_TEMPLATE( |