upload-pack: generalize commit date cutoff
[gitweb.git] / tree.h
diff --git a/tree.h b/tree.h
index 2ea21ed174b63c042c1044f7806d0a4582aba620..d4807dc805827e6fe07fd01721a8a4680af3403f 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -12,8 +12,7 @@ struct tree {
        unsigned long size;
 };
 
-#define lookup_tree(r, oid) lookup_tree_##r(oid)
-struct tree *lookup_tree_the_repository(const struct object_id *oid);
+struct tree *lookup_tree(struct repository *r, const struct object_id *oid);
 
 int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size);