summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-06-06 22:55:34 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-06-06 22:55:34 +0200
commit231f350d91e71e3c171041a64f0d238888fad002 (patch)
treea2a20f8025f8a42a7471a9742212827cf0c09c2b /include/git2
parentd15445646440807a082feb54a1e92d54864137d1 (diff)
downloadlibgit2-231f350d91e71e3c171041a64f0d238888fad002.tar.gz
remote: don't free the remote on deletecmn/remote-rename-more
This was a bad idea. Don't free except in the free function.
Diffstat (limited to 'include/git2')
-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 8d3744265..cba57c4f6 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -618,8 +618,6 @@ GIT_EXTERN(int) git_remote_is_valid_name(const char *remote_name);
* All remote-tracking branches and configuration settings
* for the remote will be removed.
*
-* once deleted, the passed remote object will be freed and invalidated.
-*
* @param remote A valid remote
* @return 0 on success, or an error code.
*/