Thread (1 message) 1 message, 1 author, 2020-01-07

Re: [PATCH 1/3] graph: fix case that hit assert()

From: Junio C Hamano <hidden>
Date: 2020-01-07 20:21:14

Jeff King [off-list ref] writes:
On Tue, Jan 07, 2020 at 11:21:00AM -0800, Junio C Hamano wrote:
quoted
Jeff King [off-list ref] writes:
quoted
quoted
Second, the horizontal lines in that first line drop their coloring.
This is due to a use of graph_line_addch() instead of
graph_line_write_column(). Using a ternary operator to pick the
character is nice for compact code, but we actually need a column
to provide the color.
It seems like this is a totally separate bug, and could be its own
commit?
I think so.

And with that removed, all that remains would be a removal of the
assert() plus an additional test?
Yes, though note that the color thing is a v2.25 regression as well. So
we'd probably want both of them.
Sure.  Those two would make perfect pair of commits to finish -rc2 with.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help