X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=builtin-cat-file.c;h=4d36817e5fed0e50f84eb48ac183b0c377596a86;hb=b19ee24b22b3c1d08f06e8f868f11d9e8639fd30;hp=8ab136e981d4ba0ed43c6bd9a907c43fd12b8fcd;hpb=a5c8a98ca7e978c334e956df7ae2165c75c494da;p=git.git diff --git a/builtin-cat-file.c b/builtin-cat-file.c index 8ab136e9..4d36817e 100644 --- a/builtin-cat-file.c +++ b/builtin-cat-file.c @@ -141,7 +141,7 @@ int cmd_cat_file(int argc, const char **argv, char **envp) /* custom pretty-print here */ if (!strcmp(type, tree_type)) - return execl_git_cmd("ls-tree", argv[2], NULL); + return cmd_ls_tree(2, argv + 1, NULL); buf = read_sha1_file(sha1, type, &size); if (!buf)