diff options
author | Russell Belfer <rb@github.com> | 2013-04-30 00:52:12 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-04-30 00:52:12 +0400 |
commit | b7f167da29effa125663b143d3daf79a6ad88d2e (patch) | |
tree | 585355250e7078c7018a78c68539dc139912013b /src/oid.c | |
parent | aa8f010120577e61715f3ae1286a03055815f9c3 (diff) |
Make git_oid_cmp public and add git_oid__cmp
Diffstat (limited to 'src/oid.c')
-rw-r--r-- | src/oid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -166,9 +166,9 @@ void git_oid_cpy(git_oid *out, const git_oid *src) memcpy(out->id, src->id, sizeof(out->id)); } -int git_oid_compare(const git_oid *oid_a, const git_oid *oid_b) +int git_oid_cmp(const git_oid *a, const git_oid *b) { - return git_oid_cmp(oid_a, oid_b); + return git_oid__cmp(a, b); } int git_oid_ncmp(const git_oid *oid_a, const git_oid *oid_b, size_t len) |