[PATCH] Make ls-* output consistent with diff-* output format.
Use SP as the column separator except the ones before path which uses TAB, to make the output format consistent across ls-* and diff-* commands. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
6d3a5077dd
commit
2eab945e86
@ -262,7 +262,7 @@ static void show_files(void)
|
||||
tag_cached,
|
||||
ce->name, line_terminator);
|
||||
else
|
||||
printf("%s%06o %s %d %s%c",
|
||||
printf("%s%06o %s %d\t%s%c",
|
||||
ce_stage(ce) ? tag_unmerged :
|
||||
tag_cached,
|
||||
ntohl(ce->ce_mode),
|
||||
|
Reference in New Issue
Block a user