diff options
author | Marc Pegon <pegon.marc@gmail.com> | 2011-05-29 11:46:42 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-01 23:40:42 +0200 |
commit | 7d74cd44d5c538383263dfa9f9d13868e9fdc00f (patch) | |
tree | 1b6b5528e7127f4401ab64fb0d17bffcea536c0e /src/cache.h | |
parent | da03c9f35b282e70f0cb7e6ae1638df476c4e0df (diff) | |
download | libgit2-7d74cd44d5c538383263dfa9f9d13868e9fdc00f.tar.gz |
Deleted unused method git_cached_object_match, since we do not explore the cache when searching objects from a short oid.
Diffstat (limited to 'src/cache.h')
-rw-r--r-- | src/cache.h | 5 |
1 files changed, 0 insertions, 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); |