Skip to content

Commit f3aafa4

Browse files
pugmajereJunio C Hamano
authored andcommitted
Disable color detection during format-patch
Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 135a522 commit f3aafa4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

builtin-log.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ static int git_format_config(const char *var, const char *value)
105105
strcat(extra_headers, value);
106106
return 0;
107107
}
108+
if (!strcmp(var, "diff.color")) {
109+
return 0;
110+
}
108111
return git_diff_config(var, value);
109112
}
110113

0 commit comments

Comments
 (0)