Deleted unused method git_cached_object_match, since we do not explore the cache when searching objects from a short oid.