@matheusbsbs / matheus-bagliano / commits / f3aafa4db2
Fork 0

Disable color detection during format-patch

Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>

Ryan Anderson committed Jul 9, 2006 at 02:28 UTC f3aafa4db29c3d4799eeeda21efaf15d364ae59a
1 file changed +3
builtin-log.c
+3
@@ -105,6 +105,9 @@ static int git_format_config(const char *var, const char *value)
105 strcat(extra_headers, value);
106 return 0;
107 }
108 + if (!strcmp(var, "diff.color")) {
109 + return 0;
110 + }
111 return git_diff_config(var, value);
112 }
113