summaryrefslogtreecommitdiff
path: root/include/git2/repository.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-11-12 00:14:51 +0100
committernulltoken <emeric.fermas@gmail.com>2012-11-12 00:14:51 +0100
commitb1a3a70ed1ca45bb155ec4c10b40a047d27614f3 (patch)
treec6a6065e66ff80c7eb5665e2dd7bfe467f3b9655 /include/git2/repository.h
parentef8871515bcb8af8d690609c086718bcaecbb5c6 (diff)
downloadlibgit2-b1a3a70ed1ca45bb155ec4c10b40a047d27614f3.tar.gz
repository: Refine repository_head() error report
Diffstat (limited to 'include/git2/repository.h')
-rw-r--r--include/git2/repository.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index 4d122265c..d606cfa2a 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -273,7 +273,7 @@ GIT_EXTERN(int) git_repository_init_ext(
* @param repo a repository object
*
* @return 0 on success, GIT_EORPHANEDHEAD when HEAD points to a non existing
- * branch, an error code otherwise
+ * branch, GIT_ENOTFOUND when HEAD is missing; an error code otherwise
*/
GIT_EXTERN(int) git_repository_head(git_reference **head_out, git_repository *repo);