Clarified git_repository_is_empty() documentation

This commit is contained in:
Pierre-Olivier Latour 2015-01-27 08:17:23 -08:00
parent 1ac5acdc69
commit 9a294fd8c5

View File

@ -342,8 +342,8 @@ GIT_EXTERN(int) git_repository_head_unborn(git_repository *repo);
/**
* Check if a repository is empty
*
* An empty repository has just been initialized and contains
* no references.
* An empty repository has just been initialized and contains no references
* apart from HEAD, which must be pointing to the unborn master branch.
*
* @param repo Repo to test
* @return 1 if the repository is empty, 0 if it isn't, error code