summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorAndy Koppe <andy.koppe@gmail.com>2023-08-20 19:50:06 +0100
committerJunio C Hamano <gitster@pobox.com>2023-08-21 11:40:09 -0700
commitdcb347f83780b67ba586fda67a5c494b31354eae (patch)
treebee602b08027ef4bc3178569c793ccfde9f38ee2 /commit-graph.c
parentb87a9a2c1ef8c39d4fc3d1e28ebb79563d4804be (diff)
decorate: color each token separately
Wrap "tag:" prefixes and the arrows in "HEAD -> branch" decorations in their own color sequences. Otherwise, if --graph is used, tag names or arrows can end up uncolored when %w width formatting breaks a line just before them. This is because --graph resets the color after doing its drawing at the start of a line. Amend test t4207-log-decoration-colors.sh accordingly. Signed-off-by: Andy Koppe <andy.koppe@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions