Re: http getpass function in msysgit
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 4, 2010, 02:32 UTC
- Message-ID
- <7vfx5hybmd.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1976ea661002031756j2c2699b0hf7deb8febdce841b@mail.gmail.com>
Frank Li <lznuaa@gmail.com> writes:
> Can we direct use SSH_ASKPASS for all getpass and don't use GIT_ASKPASS at all? > The logic will be come simple.
If you _really_ have to ask me,...
I'd suspect people would feel it funny if the only advertised interface were SSH_*, especially when they don't use OpenSSH at all and setting up the prompter solely to use git over http. If you use GIT_ASKPASS as the advertised _primary_ interface to drive the prompter, while falling back on SSH_ASKPASS as a mere end-user convenience measure, you wouldn't have that problem. Hence my suggestion.
But in the end it's up to you to decide. I won't be writing this code ;-).