mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
Deleted unused method git_cached_object_match, since we do not explore the cache when searching objects from a short oid.
This commit is contained in:
parent
da03c9f35b
commit
7d74cd44d5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user