git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* http getpass function in msysgit
@ 2010-02-03  3:18 Frank Li
  2010-02-03  5:32 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Li @ 2010-02-03  3:18 UTC (permalink / raw)
  To: git, msysGit

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-04  2:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03  3:18 http getpass function in msysgit Frank Li
2010-02-03  5:32 ` Junio C Hamano
2010-02-03  5:48   ` Frank Li
2010-02-04  1:28     ` Junio C Hamano
2010-02-04  1:56       ` Frank Li
2010-02-04  2:32         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).