Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-05-26 20:59:17 +0400
committerJunio C Hamano <junkio@cox.net>2006-05-26 22:36:56 +0400
commitb931aa5a48f9fb3c26a565d5f19866923f13b692 (patch)
tree303d5c8c3674ea99d06e1e11666906f4747b9913 /builtin-cat-file.c
parentadd5c8a562fc0e80ad4eb3d1e2a9f9f47df053a6 (diff)
Call builtin ls-tree in git-cat-file -p
Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-cat-file.c')
-rw-r--r--builtin-cat-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-cat-file.c b/builtin-cat-file.c
index 8ab136e981..4d36817e5f 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)