summaryrefslogtreecommitdiff
path: root/include/git2/oid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r--include/git2/oid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h
index 062b9ca8b..f1f7dcc6c 100644
--- a/include/git2/oid.h
+++ b/include/git2/oid.h
@@ -142,7 +142,7 @@ GIT_EXTERN(int) git_oid_cmp(const git_oid *a, const git_oid *b);
* @param len the number of hex chars to compare
* @param a first oid structure.
* @param b second oid structure.
- * @return 1 in case of a match
+ * @return 0 in case of a match
*/
GIT_EXTERN(int) gid_oid_match(unsigned int len, git_oid *a, git_oid *b);