Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git_config_colorbool: refactor stdout_is_tty handling
[gitweb.git]
/
graph.c
diff --git
a/graph.c
b/graph.c
index 2f6893dc4f97dfbccad6f22f66861c24021a3c46..556834a973863fa2bc3f9f8d02fe16cabc4359d8 100644
(file)
--- 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 (
graph->revs->diffopt.use_color <= 0
)
return column_colors_max;
return graph->default_column_color;
}