diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-10-19 17:07:39 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-10-19 22:01:53 +0200 |
commit | 8b05bea87042010c2d9c71d0be17f45bf5bea2a3 (patch) | |
tree | 341b12f077179abef9b38bd70eb8bc4f53b37cbc /include/git2/checkout.h | |
parent | c4f68b3503ea37fc179fccfc49bb17469bd7ff70 (diff) | |
download | libgit2-8b05bea87042010c2d9c71d0be17f45bf5bea2a3.tar.gz |
errors: deploy GIT_EORPHANEDHEAD usage
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r-- | include/git2/checkout.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h index 0bac5690a..b4f9ad081 100644 --- a/include/git2/checkout.h +++ b/include/git2/checkout.h @@ -81,7 +81,8 @@ typedef struct git_checkout_opts { * @param repo repository to check out (must be non-bare) * @param opts specifies checkout options (may be NULL) * @param stats structure through which progress information is reported - * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information + * @return 0 on success, GIT_EORPHANEDHEAD when HEAD points to a non existing + * branch, GIT_ERROR otherwise (use giterr_last for information * about the error) */ GIT_EXTERN(int) git_checkout_head( |