projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Make ls-* output consistent with diff-* output format.
[git.git]
/
ls-tree.c
diff --git
a/ls-tree.c
b/ls-tree.c
index
896f4fd
..
26cea3f
100644
(file)
--- a/
ls-tree.c
+++ b/
ls-tree.c
@@
-127,7
+127,7
@@
static void list_recursive(void *buffer,
* print out the info
*/
if (!matches || (matched != NULL && mtype == 0)) {
- printf("%06o
\t%s\t
%s\t", mode,
+ printf("%06o
%s
%s\t", mode,
S_ISDIR(mode) ? "tree" : "blob",
sha1_to_hex(sha1));
print_path_prefix(&this_prefix);