diff options
-rw-r--r-- | include/git2/repository.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h index d5f6cf501..5eff53b29 100644 --- a/include/git2/repository.h +++ b/include/git2/repository.h @@ -167,7 +167,7 @@ GIT_EXTERN(void) git_repository_free(git_repository *repo); * * @param repo repository handle to collect. If NULL nothing occurs. */ -GIT_EXTERN(void) git_repository_close(git_repository *repo); +GIT_EXTERN(void) git_repository_gc(git_repository *repo); /** * Creates a new Git repository in the given folder. |