{"thread":{"id":"4301","subject":"[PATCH] Call builtin ls-tree in git-cat-file -p","startedAt":"2006-05-26T16:59:17Z","lastAt":"2006-05-26T16:59:17Z","messageCount":1,"participants":["Petr Baudis"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"20763","messageId":"20060526165917.5215.39602.stgit@machine.or.cz","threadId":"4301","inReplyTo":null,"subject":"[PATCH] Call builtin ls-tree in git-cat-file -p","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2006-05-26T16:59:17Z","receivedAt":"2006-05-26T16:59:17Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Signed-off-by: Petr Baudis <pasky@suse.cz>\n---\n\n builtin-cat-file.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/builtin-cat-file.c b/builtin-cat-file.c\nindex 8ab136e..4d36817 100644\n--- a/builtin-cat-file.c\n+++ b/builtin-cat-file.c\n@@ -141,7 +141,7 @@ int cmd_cat_file(int argc, const char **\n \n \t\t/* custom pretty-print here */\n \t\tif (!strcmp(type, tree_type))\n-\t\t\treturn execl_git_cmd(\"ls-tree\", argv[2], NULL);\n+\t\t\treturn cmd_ls_tree(2, argv + 1, NULL);\n \n \t\tbuf = read_sha1_file(sha1, type, &size);\n \t\tif (!buf)\n"}]}