http getpass function in msysgit
From: Frank Li <hidden>
Date: 2016-06-15 22:48:10
From: Frank Li <hidden>
Date: 2016-06-15 22:48:10
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