Re: [PATCH v2] log --graph: customize the graph lines with config log.graphColors

2016-12-25 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Sounds like the good first step should be something like this instead > of jumping straight to generating a new color palette automatically. I like this not merely as a good first step but potentially a good endgame. > diff --git a/graph.c b/graph.c > index d4e

[PATCH v2] log --graph: customize the graph lines with config log.graphColors

2016-12-24 Thread Nguyễn Thái Ngọc Duy
If you have a 256 colors terminal (or one with true color support), then the predefined 12 colors seem limited. On the other hand, you don't want to draw graph lines with every single color in this mode because the two colors could look extremely similar. This option allows you to hand pick the col