]> git.ipfire.org Git - thirdparty/git.git/commit - sideband.c
sideband: color lines with keyword only
authorStefan Beller <sbeller@google.com>
Mon, 3 Dec 2018 22:37:13 +0000 (14:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Dec 2018 03:12:46 +0000 (12:12 +0900)
commit1f672904508c9c4e722efaf6bb8696b2e7b9d8e0
treed5e190746775e5ff9ac6af5d6ebd3ebd2bd9b614
parent59a255aef05633c45c780987fa0c861cda9006f2
sideband: color lines with keyword only

When bf1a11f0a1 (sideband: highlight keywords in remote sideband output,
2018-08-07) was introduced, it was carefully considered which strings
would be highlighted. However 59a255aef0 (sideband: do not read beyond
the end of input, 2018-08-18) brought in a regression that the original
did not test for. A line containing only the keyword and nothing else
("SUCCESS") should still be colored.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sideband.c
t/t5409-colorize-remote-messages.sh