From 7d74cd44d5c538383263dfa9f9d13868e9fdc00f Mon Sep 17 00:00:00 2001 From: Marc Pegon Date: Sun, 29 May 2011 11:46:42 +0200 Subject: [PATCH] Deleted unused method git_cached_object_match, since we do not explore the cache when searching objects from a short oid. --- src/cache.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cache.h b/src/cache.h index 3038030f4..4794dea3a 100644 --- a/src/cache.h +++ b/src/cache.h @@ -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);