Merge branch 'ph/format-patch-no-color'
* ph/format-patch-no-color: format-patch: ignore ui.color
This commit is contained in:
@ -608,7 +608,8 @@ static int git_format_config(const char *var, const char *value, void *cb)
|
||||
string_list_append(&extra_cc, value);
|
||||
return 0;
|
||||
}
|
||||
if (!strcmp(var, "diff.color") || !strcmp(var, "color.diff")) {
|
||||
if (!strcmp(var, "diff.color") || !strcmp(var, "color.diff") ||
|
||||
!strcmp(var, "color.ui")) {
|
||||
return 0;
|
||||
}
|
||||
if (!strcmp(var, "format.numbered")) {
|
||||
|
Reference in New Issue
Block a user