summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-12-24 15:59:01 +0100
committernulltoken <emeric.fermas@gmail.com>2012-12-24 18:18:31 +0100
commitf19304d2653cdc829f549283b3fb4e2e4d9b06ce (patch)
tree4fc76ebee6245394a589773cbfda71ba9f207347 /include/git2
parentae35aa07082968e00b9b77173c622482ea02db5d (diff)
downloadlibgit2-f19304d2653cdc829f549283b3fb4e2e4d9b06ce.tar.gz
remote: Prevent create() from blindly overwriting
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 0be30cd02..29bda796d 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -41,7 +41,7 @@ typedef int (*git_remote_rename_problem_cb)(const char *problematic_refspec, voi
* @param repo the repository in which to create the remote
* @param name the remote's name
* @param url the remote's url
- * @return 0, GIT_EINVALIDSPEC or an error code
+ * @return 0, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code
*/
GIT_EXTERN(int) git_remote_create(
git_remote **out,