add -p (built-in): do not color the progress indicator separately
authorJohannes Schindelin <redacted>
Mon, 16 Nov 2020 16:08:28 +0000 (16:08 +0000)
committerJunio C Hamano <redacted>
Mon, 16 Nov 2020 23:59:02 +0000 (15:59 -0800)
commit6681e3603216f0e279fea467a0e6d829fffb82a5
tree5f2bc3f8b48c70378bf3b3f08f38715f82dd16d9
parent25d9e5ccba3fbcdb4109b6b2b2a7e721b0af6d77
add -p (built-in): do not color the progress indicator separately

The Perl version of this command colors the progress indicator and the
prompt message in one go.

Let's do the same in the built-in version so that the same upcoming test
(which will compare the output of `git add -p` against a known-good
version) will pass both for the Perl version as well as for the built-in
version.

Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
add-patch.c
git clone https://git.99rst.org/PROJECT