diff options
author | Jeff King <peff@peff.net> | 2009-12-07 00:17:15 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-07 00:40:22 -0800 |
commit | 4a7cc2fdf39c90e6eff84d30b86490cac2c33705 (patch) | |
tree | beb918d27e1a49d4df08ad47eb0e19a66e195b47 /builtin-commit.c | |
parent | 3fe2a894e98566dd91e69982552454cfb381cf24 (diff) | |
download | git-4a7cc2fdf39c90e6eff84d30b86490cac2c33705.tar.gz |
status: disable color for porcelain format
The porcelain format is identical to the shortstatus format,
except that it should not respect any user configuration,
including color.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-commit.c')
-rw-r--r-- | builtin-commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-commit.c b/builtin-commit.c index 07cc76c04a..ded58984ac 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -382,7 +382,7 @@ static int run_status(FILE *fp, const char *index_file, const char *prefix, int wt_shortstatus_print(s, null_termination); break; case STATUS_FORMAT_PORCELAIN: - wt_shortstatus_print(s, null_termination); + wt_porcelain_print(s, null_termination); break; case STATUS_FORMAT_LONG: wt_status_print(s); @@ -975,7 +975,7 @@ int cmd_status(int argc, const char **argv, const char *prefix) wt_shortstatus_print(&s, null_termination); break; case STATUS_FORMAT_PORCELAIN: - wt_shortstatus_print(&s, null_termination); + wt_porcelain_print(&s, null_termination); break; case STATUS_FORMAT_LONG: s.verbose = verbose; |