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 /include | |
parent | 4bb6ffb6bb8ad9d49eb173350be965183cd09c96 (diff) | |
download | libgit2-0862f617da08cb371a647b3e454745f3b570de63.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 'include')
-rw-r--r-- | include/git2/remote.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 977e9b809..b617a5d18 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -390,19 +390,6 @@ GIT_EXTERN(int) git_remote_fetch( const char *reflog_message); /** - * - * Return whether the library supports a particular URL scheme - * - * Both the built-in and externally-registered transport lists are - * searched for a transport which supports the scheme of the given - * URL. - * - * @param url the url to check - * @return 1 if the url is supported, 0 otherwise -*/ -GIT_EXTERN(int) git_remote_supported_url(const char* url); - -/** * Get a list of the configured remotes for a repo * * The string array must be freed by the user. |