summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-09-03 12:50:44 +0200
committerVicent Marti <vicent@github.com>2014-09-03 12:50:44 +0200
commit89e05e2ab19ac452e84e0eaa2dfb8e07ac6839bf (patch)
treeacfd165ed28637b5518249f8092ffadfb92837d3 /include
parent4c958046d3ed7f67c6dee495b8d874df9048dc55 (diff)
parent05ac70514fed0ae75ba2844f22b233da1c25b8cc (diff)
downloadlibgit2-89e05e2ab19ac452e84e0eaa2dfb8e07ac6839bf.tar.gz
Merge pull request #2543 from libgit2/cmn/known-transports
Clean up transport lookup
Diffstat (limited to 'include')
-rw-r--r--include/git2/remote.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index c0717fa31..de5823e6d 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -384,15 +384,12 @@ GIT_EXTERN(int) git_remote_fetch(
const char *reflog_message);
/**
- * Return whether a string is a valid remote URL
*
- * @param url the url to check
- * @return 1 if the url is valid, 0 otherwise
- */
-GIT_EXTERN(int) git_remote_valid_url(const char *url);
-
-/**
- * Return whether the passed URL is supported by this version of the library.
+ * 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