diff options
author | Linquize <linquize@yahoo.com.hk> | 2013-08-31 18:19:44 +0800 |
---|---|---|
committer | Linquize <linquize@yahoo.com.hk> | 2013-08-31 18:19:44 +0800 |
commit | e68938e0b98fac52da20171f33ca3abfdbf3f434 (patch) | |
tree | fbcbb8c8566ae917204c89c42f9773287a751b3a | |
parent | 0001c0231607bd8bc9b09bde6c1d7d0fb396565f (diff) | |
download | libgit2-e68938e0b98fac52da20171f33ca3abfdbf3f434.tar.gz |
Update documentation of git_oid_streq to remove outdated error code
-rw-r--r-- | include/git2/oid.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index 662338d93..c69968ad1 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -188,8 +188,7 @@ GIT_EXTERN(int) git_oid_ncmp(const git_oid *a, const git_oid *b, size_t len); * * @param id oid structure. * @param str input hex string of an object id. - * @return GIT_ENOTOID if str is not a valid hex string, - * 0 in case of a match, GIT_ERROR otherwise. + * @return 0 in case of a match, -1 otherwise. */ GIT_EXTERN(int) git_oid_streq(const git_oid *id, const char *str); |