tree-walk.c: remove the_repo from get_tree_entry()
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index bf20337ef435234acf171f76137e683e66fb22d2..cd84cc9bbe1e6c6c3b6df55c9cdd7305af818589 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1500,7 +1500,8 @@ int df_name_compare(const char *name1, int len1, int mode1, const char *name2, i
 int name_compare(const char *name1, size_t len1, const char *name2, size_t len2);
 int cache_name_stage_compare(const char *name1, int len1, int stage1, const char *name2, int len2, int stage2);
 
-void *read_object_with_reference(const struct object_id *oid,
+void *read_object_with_reference(struct repository *r,
+                                const struct object_id *oid,
                                 const char *required_type,
                                 unsigned long *size,
                                 struct object_id *oid_ret);