Commit 9a294fd8 by Pierre-Olivier Latour

Clarified git_repository_is_empty() documentation

parent 1ac5acdc
...@@ -342,8 +342,8 @@ GIT_EXTERN(int) git_repository_head_unborn(git_repository *repo); ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment