From: Frank Li <lznuaa@gmail.com>
To: git@vger.kernel.org, msysGit <msysgit@googlegroups.com>
Subject: http getpass function in msysgit
Date: Wed, 3 Feb 2010 11:18:23 +0800 [thread overview]
Message-ID: <1976ea661002021918m19d9b37fx1872557d3c810e3a@mail.gmail.com> (raw)
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 reply other threads:[~2010-02-03 3:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-03 3:18 Frank Li [this message]
2010-02-03 5:32 ` http getpass function in msysgit 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1976ea661002021918m19d9b37fx1872557d3c810e3a@mail.gmail.com \
--to=lznuaa@gmail.com \
--cc=git@vger.kernel.org \
--cc=msysgit@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).