add-patch: do not show UI messages on stderr
commit9d225b025d96d37e8c914646c54cfa9fb5f52b80
authorRubén Justo <rjusto@gmail.com>
Mon, 29 Apr 2024 18:37:03 +0000 (29 20:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Apr 2024 19:02:39 +0000 (30 12:02 -0700)
tree78395771246090b927a3f66553cf0c88d9d68faa
parentae3196a5ea84a9e88991d576020cf66512487088
add-patch: do not show UI messages on stderr

There is no need to show some UI messages on stderr, and yet doing so
may produce some undesirable results, such as messages appearing in an
unexpected order.

Let's use stdout for all UI messages, and adjusts the tests accordingly.

Signed-off-by: Rubén Justo <rjusto@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-patch.c
t/t3701-add-interactive.sh