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/attr.c | |
parent | aa8f010120577e61715f3ae1286a03055815f9c3 (diff) | |
download | libgit2-b7f167da29effa125663b143d3daf79a6ad88d2e.tar.gz |
Make git_oid_cmp public and add git_oid__cmp
Diffstat (limited to 'src/attr.c')
-rw-r--r-- | src/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attr.c b/src/attr.c index 979fecc14..6dd2c7e2f 100644 --- a/src/attr.c +++ b/src/attr.c @@ -312,7 +312,7 @@ static int load_attr_blob_from_index( entry = git_index_get_byindex(index, pos); - if (old_oid && git_oid_cmp(old_oid, &entry->oid) == 0) + if (old_oid && git_oid__cmp(old_oid, &entry->oid) == 0) return GIT_ENOTFOUND; if ((error = git_blob_lookup(blob, repo, &entry->oid)) < 0) |