Re: [PATCH] graph API: Added logic for colored edges
Allan Caffee <allan.caffee@gmail.com> writes:
Show 7 quoted lines
> The problem with making it an index into the column_colors array is that
> we don't have a convenient place to test whether the user actually wants
> color. We can't do it in strbuf_write_column because AFAIK there's no
> way to get the rev-info to test the options. I suppose we could define
> GIT_NOT_A_COLOR to -1 and just set the color to that when we don't
> intend to use color. (Either way I should probably change that to an
> unsigned short.) What do you think?