From f3aafa4db29c3d4799eeeda21efaf15d364ae59a Mon Sep 17 00:00:00 2001 From: Ryan Anderson Date: Sun, 9 Jul 2006 02:28:21 -0400 Subject: [PATCH] Disable color detection during format-patch Signed-off-by: Ryan Anderson Signed-off-by: Junio C Hamano --- builtin-log.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builtin-log.c b/builtin-log.c index 698b71ecc..0aeeaa4e2 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -105,6 +105,9 @@ static int git_format_config(const char *var, const char *value) strcat(extra_headers, value); return 0; } + if (!strcmp(var, "diff.color")) { + return 0; + } return git_diff_config(var, value); } -- 2.30.2