summaryrefslogtreecommitdiff
path: root/include/git2/repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/repository.h')
-rw-r--r--include/git2/repository.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index bacb48145..ced5ad572 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -75,7 +75,7 @@ GIT_EXTERN(int) git_repository_discover(
*
* Note that after a repository is free'd, all the objects it has spawned
* will still exist until they are manually closed by the user
- * with `git_object_close`, but accessing any of the attributes of
+ * with `git_object_free`, but accessing any of the attributes of
* an object without a backing repository will result in undefined
* behavior
*