diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2020-01-07 21:27:02 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-08 09:37:18 -0800 |
commit | a1087c93677bc0304c98f14915b1843e470e4a55 (patch) | |
tree | b9c21c2068b0dd20c2068fc2bea15a39f4ca6c83 /t/t5609-clone-branch.sh | |
parent | graph: drop assert() for merge with two collapsing parents (diff) | |
download | tgif-a1087c93677bc0304c98f14915b1843e470e4a55.tar.xz |
graph: fix lack of color in horizontal lines
In some cases, horizontal lines in rendered graphs can lose 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.
Add a test to t4215-log-skewed-merges.sh to prevent regression.
Reported-by: Jeff King <peff@peff.net>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5609-clone-branch.sh')
0 files changed, 0 insertions, 0 deletions