X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=graph.c;h=7358416a72e855b406e026036cf61bcdd15e5142;hb=5e2b3d7c6741fdd65e195fbe3af98b6d8d2fa551;hp=2f6893dc4f97dfbccad6f22f66861c24021a3c46;hpb=d48929e1c39a01cf2d909ba140110df481c8912d;p=git.git diff --git a/graph.c b/graph.c index 2f6893dc4..7358416a7 100644 --- a/graph.c +++ b/graph.c @@ -347,7 +347,7 @@ static struct commit_list *first_interesting_parent(struct git_graph *graph) static unsigned short graph_get_current_column_color(const struct git_graph *graph) { - if (!DIFF_OPT_TST(&graph->revs->diffopt, COLOR_DIFF)) + if (!want_color(graph->revs->diffopt.use_color)) return column_colors_max; return graph->default_column_color; }