diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-11-12 00:14:51 +0100 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-11-12 00:14:51 +0100 |
commit | b1a3a70ed1ca45bb155ec4c10b40a047d27614f3 (patch) | |
tree | c6a6065e66ff80c7eb5665e2dd7bfe467f3b9655 /include/git2/repository.h | |
parent | ef8871515bcb8af8d690609c086718bcaecbb5c6 (diff) | |
download | libgit2-b1a3a70ed1ca45bb155ec4c10b40a047d27614f3.tar.gz |
repository: Refine repository_head() error report
Diffstat (limited to 'include/git2/repository.h')
-rw-r--r-- | include/git2/repository.h | 2 |
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); |