Commit 7d74cd44 by Marc Pegon Committed by Vicent Marti

Deleted unused method git_cached_object_match, since we do not explore the cache…

Deleted unused method git_cached_object_match, since we do not explore the cache when searching objects from a short oid.
parent da03c9f3
......@@ -42,11 +42,6 @@ GIT_INLINE(int) git_cached_obj_compare(git_cached_obj *obj, const git_oid *oid)
return git_oid_cmp(&obj->oid, oid);
}
GIT_INLINE(int) git_cached_obj_match(unsigned int len, git_cached_obj *obj, const git_oid *oid)
{
return git_oid_match(len, &obj->oid, oid);
}
GIT_INLINE(void) git_cached_obj_incref(git_cached_obj *obj)
{
git_atomic_inc(&obj->refcount);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment