Merge pull request #2853 from swisspol/empty_doc

Clarified git_repository_is_empty() documentation
This commit is contained in:
Carlos Martín Nieto 2015-01-30 18:00:26 +01:00
commit 6e5a397ca6

View File

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