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

http getpass function in msysgit

From
Frank Li <lznuaa@gmail.com>
Date
Feb 3, 2010, 03:18 UTC
Message-ID
<1976ea661002021918m19d9b37fx1872557d3c810e3a@mail.gmail.com>
ALL:
        getpass at mingw.c is direct read character with function _getch().
        GUI application, such tortoisegit will halt when http need
password input because gui don't know git wait for inputing passwords.
        To resolve this problem, I have two options.
        Options 1:
                Check if terminal is exist, if exist, using old
method. Otherwise launch internal password dialog.
        Options 2:
                like openSSH,  Check if terminal is not exist and
environment HTTP_ASKPASS exist, if true, run application which
HTTP_ASKPASS point, otherwise using old ways.
       Which one do you prefer,  I can implement it.

best regards Frank Li

Next: Junio C Hamano
Message 1 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.