summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-21 08:05:59 -0800
committerBen Straub <bs@github.com>2012-12-21 08:05:59 -0800
commit79000951ec907c967a1c322da8c351998676f753 (patch)
tree35fac0fcd93f4ccf876d48eb34957ae8ee0b2b3c /include/git2/remote.h
parent87bc689fbf571aa3cbc77e510f14304cc3502ca5 (diff)
downloadlibgit2-79000951ec907c967a1c322da8c351998676f753.tar.gz
In-memory remotes don't have names
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index aa3f93c7b..319976fc1 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -61,7 +61,6 @@ GIT_EXTERN(int) git_remote_create(
*
* @param out pointer to the new remote object
* @param repo the associated repository. May be NULL for a "dangling" remote.
- * @param name the optional remote's name. May be NULL.
* @param url the remote repository's URL
* @param fetch the fetch refspec to use for this remote. May be NULL for defaults.
* @return 0, GIT_EINVALIDSPEC or an error code
@@ -69,7 +68,6 @@ GIT_EXTERN(int) git_remote_create(
GIT_EXTERN(int) git_remote_create_inmemory(
git_remote **out,
git_repository *repo,
- const char *name,
const char *url,
const char *fetch);