summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Olivier Latour <pol@mac.com>2015-01-27 08:17:23 -0800
committerPierre-Olivier Latour <pol@mac.com>2015-01-27 08:17:23 -0800
commit9a294fd8c5c8e2e7d384e852bc33988962e5156b (patch)
tree693431eba331e4529833044599eb390d98def7b7
parent1ac5acdc695b837a921897a9d42acc75649cfd4f (diff)
downloadlibgit2-9a294fd8c5c8e2e7d384e852bc33988962e5156b.tar.gz
Clarified git_repository_is_empty() documentation
-rw-r--r--include/git2/repository.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index 124aa67e6..2fb381316 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -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