diff --git a/builtin-ls-tree.c b/builtin-ls-tree.c
index ac7135868865130f6ad43a63bb395087c67ee20f..d25767a1f7eb0a8b45bc1eed6b9aa95de0847f18 100644 (file)
--- a/builtin-ls-tree.c
+++ b/builtin-ls-tree.c
}
static int show_tree(const unsigned char *sha1, const char *base, int baselen,
- const char *pathname, unsigned mode, int stage)
+ const char *pathname, unsigned mode, int stage, void *context)
{
int retval = 0;
const char *type = blob_type;
tree = parse_tree_indirect(sha1);
if (!tree)
die("not a tree object");
- read_tree_recursive(tree, "", 0, 0, pathspec, show_tree);
+ read_tree_recursive(tree, "", 0, 0, pathspec, show_tree, NULL);
return 0;
}