diff options
author | Andy Koppe <andy.koppe@gmail.com> | 2023-08-20 21:50:06 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-08-21 21:40:09 +0300 |
commit | dcb347f83780b67ba586fda67a5c494b31354eae (patch) | |
tree | bee602b08027ef4bc3178569c793ccfde9f38ee2 /pretty.c | |
parent | b87a9a2c1ef8c39d4fc3d1e28ebb79563d4804be (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 'pretty.c')
0 files changed, 0 insertions, 0 deletions