git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 ;-).

Previous: Frank Li
Message 6 of 6 in “http getpass function in msysgit”
  1. Frank LiFeb 3, 2010
  2. Junio C HamanoFeb 3, 2010
  3. Frank LiFeb 3, 2010
  4. Junio C HamanoFeb 4, 2010
  5. Frank LiFeb 4, 2010
  6. Junio C HamanoFeb 4, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.