From: Junio C Hamano Date: Wed, 28 Dec 2011 21:00:31 GMT Subject: Re: [PATCH 2/2] git-svn, perl/Git.pm: extend and use Git->prompt method for querying users Message-ID: <7v39c41keo.fsf@alter.siamese.dyndns.org> In-Reply-To: <4EFAF241.9050806@tu-clausthal.de> Sven Strickroth writes: > Am 28.12.2011 03:41 schrieb Junio C Hamano: >> 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.