From 2eab945e865317cb7d390aec214303f1d931b53a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 26 May 2005 14:38:19 -0700 Subject: [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 Signed-off-by: Linus Torvalds --- ls-files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ls-files.c') diff --git a/ls-files.c b/ls-files.c index 03b218260..c6c32d94b 100644 --- a/ls-files.c +++ b/ls-files.c @@ -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), -- cgit v1.2.1