summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-03-16 01:07:06 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-16 01:07:06 +0200
commit54a1b36c257a490f13a26d92d4c8e5e3912d00cd (patch)
tree88ac80766863f1102226496cb7ae47fc09fa867d
parent955f9ae9bd25ceb59775463e04c0276209387b67 (diff)
downloadlibgit2-54a1b36c257a490f13a26d92d4c8e5e3912d00cd.tar.gz
Export `git_repository_gc` properly
One of my brainfarts made me export it as `git_repository_close` instead of GC. Duh.
-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 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.