summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-29 13:52:12 -0700
committerRussell Belfer <rb@github.com>2013-04-29 13:52:12 -0700
commitb7f167da29effa125663b143d3daf79a6ad88d2e (patch)
tree585355250e7078c7018a78c68539dc139912013b /src/odb.c
parentaa8f010120577e61715f3ae1286a03055815f9c3 (diff)
downloadlibgit2-b7f167da29effa125663b143d3daf79a6ad88d2e.tar.gz
Make git_oid_cmp public and add git_oid__cmp
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb.c b/src/odb.c
index 53630dddc..2574c6789 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -764,7 +764,7 @@ attempt_lookup:
git__free(data);
data = raw.data;
- if (found && git_oid_cmp(&full_oid, &found_full_oid))
+ if (found && git_oid__cmp(&full_oid, &found_full_oid))
return git_odb__error_ambiguous("multiple matches for prefix");
found_full_oid = full_oid;