From df46d77e00e7bbcfe46cc06c071fa5284f96c327 Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Mon, 12 Mar 2018 02:27:26 +0000 Subject: tree: convert read_tree_recursive to struct object_id Convert the callback functions for read_tree_recursive to take a pointer to struct object_id. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano --- tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tree.h') diff --git a/tree.h b/tree.h index 744e6dc2ac..e2a80be4ef 100644 --- a/tree.h +++ b/tree.h @@ -27,7 +27,7 @@ void free_tree_buffer(struct tree *tree); struct tree *parse_tree_indirect(const struct object_id *oid); #define READ_TREE_RECURSIVE 1 -typedef int (*read_tree_fn_t)(const unsigned char *, struct strbuf *, const char *, unsigned int, int, void *); +typedef int (*read_tree_fn_t)(const struct object_id *, struct strbuf *, const char *, unsigned int, int, void *); extern int read_tree_recursive(struct tree *tree, const char *base, int baselen, -- cgit v1.2.3