diff options
author | Marc Pegon <pegon.marc@gmail.com> | 2011-06-06 10:55:36 +0200 |
---|---|---|
committer | Marc Pegon <pegon.marc@gmail.com> | 2011-06-06 17:04:37 +0200 |
commit | c09093cce2902bca40f3c0746bc754780f351a45 (patch) | |
tree | 80d7aed83d4d444193d094024781a42fef22a411 /include/git2/oid.h | |
parent | f9213015fddb8636daa993080cbbec70a02cba5c (diff) | |
download | libgit2-c09093cce2902bca40f3c0746bc754780f351a45.tar.gz |
Renamed git_oid_match to git_oid_ncmp.
As suggested by carlosmn, git_oid_ncmp would probably
be a better name than git_oid_match, for it does the same
as git_oid_cmp but only up to a certain amount of hex digits.
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r-- | include/git2/oid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index f1f7dcc6c..d87d8f6ba 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -144,7 +144,7 @@ GIT_EXTERN(int) git_oid_cmp(const git_oid *a, const git_oid *b); * @param b second oid structure. * @return 0 in case of a match */ -GIT_EXTERN(int) gid_oid_match(unsigned int len, git_oid *a, git_oid *b); +GIT_EXTERN(int) gid_oid_ncmp(unsigned int len, git_oid *a, git_oid *b); /** * OID Shortener object |