mirror of
https://git.proxmox.com/git/libgit2
synced 2026-08-26 20:08:02 +00:00
Fix signature in git_repository_gc
The method returns an int with the amount of objects free'd
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user