Re: Launch separate program for HTTPS prompt
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Nov 13, 2012, 14:51 UTC
- Message-ID
- <CABPQNSYav4K208a1VVP6rK6LhXBo+nkx-DcG4zUsiufnCJkY5g@mail.gmail.com>
- In-Reply-To
- <vpq6261nt0x.fsf@grenoble-inp.fr>
On Tue, Oct 23, 2012 at 4:48 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 10 quoted lines
> 乙酸鋰 <ch3cooli@gmail.com> writes: > >> Hi, >> >> Could you launch a separate program for HTTPS prompt like SSH_ASKPASS? >> This allows GUI programs to answer the trust or not, not via stdin. > > Read about credential helpers, this is what they are meant for, and they > do launch separate programs. >
The prompting-support for credential helpers didn't survive the inclusion; instead we have git_prompt() that consults GIT_ASKPASS and SSH_ASKPASS or falls back to git_terminal_prompt().