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 <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
5ac913c6eb
commit
df46d77e00
@ -541,7 +541,7 @@ static int show_tag_object(const struct object_id *oid, struct rev_info *rev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int show_tree_object(const unsigned char *sha1,
|
||||
static int show_tree_object(const struct object_id *oid,
|
||||
struct strbuf *base,
|
||||
const char *pathname, unsigned mode, int stage, void *context)
|
||||
{
|
||||
|
Reference in New Issue
Block a user