Re: [PATCH v3] add-patch: enforce only one-letter response to prompts
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 22, 2024, 19:27 UTC
- Message-ID
- <xmqq4jap4pgh.fsf@gitster.g>
- In-Reply-To
- <e9f41db1-741c-413f-81ce-a86b1802e507@gmail.com>
Rubén Justo <rjusto@gmail.com> writes:
> Here, perhaps you want to do:
>
> err(s, _("Only one letter is expected, got '%s'"), s->answer.buf);True. The end-user errors are reported with err() in the surrounding code.
I however was hoping that this can be based on v2.44.0, which predates 9d225b02 (add-patch: do not show UI messages on stderr, 2024-04-29), which makes the testing of it a bit cumbersome.