diff options
author | Russell Belfer <rb@github.com> | 2013-04-29 13:52:12 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-04-29 13:52:12 -0700 |
commit | b7f167da29effa125663b143d3daf79a6ad88d2e (patch) | |
tree | 585355250e7078c7018a78c68539dc139912013b /src/refs.c | |
parent | aa8f010120577e61715f3ae1286a03055815f9c3 (diff) | |
download | libgit2-b7f167da29effa125663b143d3daf79a6ad88d2e.tar.gz |
Make git_oid_cmp public and add git_oid__cmp
Diffstat (limited to 'src/refs.c')
-rw-r--r-- | src/refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refs.c b/src/refs.c index 9c6684a5a..f3a504147 100644 --- a/src/refs.c +++ b/src/refs.c @@ -831,7 +831,7 @@ int git_reference_cmp(git_reference *ref1, git_reference *ref2) if (type1 == GIT_REF_SYMBOLIC) return strcmp(ref1->target.symbolic, ref2->target.symbolic); - return git_oid_cmp(&ref1->target.oid, &ref2->target.oid); + return git_oid__cmp(&ref1->target.oid, &ref2->target.oid); } static int reference__update_terminal( |