Sven Strickroth [off-list ref] writes:
Am 28.12.2011 03:41 schrieb Junio C Hamano:
quoted
I am afraid the extra "Certificate unknown. " prefix may make the prompt
way too long to fit on a line on the terminal or in the GUI. Would it be
Ok to perhaps add LF to make it a multi-line prompt? Do GUI based helpers
make that into a dialog box with multi-line prompt, or do they just barf?
LF is problematic. But we could do $prompt =~ s/\n/ /g; in _prompt()-method.
I actually was hoping that the answer is "it depends on the helper
specified by *_ASKPASS".
In any case, let's not add that extra "Certificate unknown. " prefix at
all to avoid regressions and queue this patch series for real.
After somebody comes up with a way to deal with overlong prompt, building
on top of this series, we can work on making this particular prompt longer
and more descriptive.