projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
add5c8a
)
Call builtin ls-tree in git-cat-file -p
author
Petr Baudis
<pasky@suse.cz>
Fri, 26 May 2006 16:59:17 +0000
(18:59 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 26 May 2006 18:36:56 +0000
(11:36 -0700)
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-cat-file.c
patch
|
blob
|
history
diff --git
a/builtin-cat-file.c
b/builtin-cat-file.c
index
8ab136e
..
4d36817
100644
(file)
--- 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)