]> git.ipfire.org Git - thirdparty/git.git/commit - add-patch.c
add -i: use `reset_color` consistently
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 11 Nov 2020 12:28:17 +0000 (12:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Nov 2020 17:07:52 +0000 (09:07 -0800)
commit6f1a5caa0b69278bc7eb79d3474a1e881bd0c663
treed26f87bff71fe67f801b6a58c5d192d9e83dc631
parentdecc9ee4eaf2c33c28e2958439d276904a2ce279
add -i: use `reset_color` consistently

We already maintain a list of colors in the `add_i_state`, therefore we
should use them.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-patch.c