add -i (built-in): send error messages to stderr
authorJohannes Schindelin <redacted>
Tue, 10 Nov 2020 23:42:12 +0000 (23:42 +0000)
committerJunio C Hamano <redacted>
Wed, 11 Nov 2020 01:00:15 +0000 (17:00 -0800)
commitcb581b16ef947a00f8e83f17c9fbe5b5aeed1d65
treec2dcf388169547816b2083b28b0a63c8be25e498
parentd34e4502fa540ed0654df7dd75b3689c48015f1a
add -i (built-in): send error messages to stderr

The Perl version of that command already does that since a301973641f
(add -p: print errors in separate color, 2009-02-05). The built-in
version's development started by reimplementing the initial version from
5cde71d64af (git-add --interactive, 2006-12-10) for simplicity, though,
which still printed error messages to stdout.

Let's fix that by imitating the Perl version's behavior in the built-in
version of that command.

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