diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-03-16 01:10:40 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-03-16 01:10:40 +0200 |
| commit | 8613d4a930541dccdc948cb18e313551ec42cb0e (patch) | |
| tree | 300b7ce7bc32d623cf2a68ec98f8933ee92470c9 /include | |
| parent | 54a1b36c257a490f13a26d92d4c8e5e3912d00cd (diff) | |
| download | libgit2-8613d4a930541dccdc948cb18e313551ec42cb0e.tar.gz | |
Fix signature in `git_repository_gc`
The method returns an int with the amount of objects free'd
Diffstat (limited to 'include')
| -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 5eff53b29..317b367d2 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_gc(git_repository *repo); +GIT_EXTERN(int) git_repository_gc(git_repository *repo); /** * Creates a new Git repository in the given folder. |
