summaryrefslogtreecommitdiff
path: root/imap-send.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-03-20 11:29:35 -0700
committerJunio C Hamano <gitster@pobox.com>2010-03-20 11:29:35 -0700
commit2e5b98d9064292881fb1fd7c327948c7057a490a (patch)
tree1186c102b8d47e45b0f6140af3d47ce43c1014aa /imap-send.c
parent31fbae0f813b47801ee79a464a8257346a5f8f2c (diff)
parentf206063b4b201ff48c87b886cbe21a068fcf6d49 (diff)
downloadgit-2e5b98d9064292881fb1fd7c327948c7057a490a.tar.gz
Merge branch 'fl/askpass'
* fl/askpass: git-core: Support retrieving passwords with GIT_ASKPASS git-svn: Support retrieving passwords with GIT_ASKPASS
Diffstat (limited to 'imap-send.c')
-rw-r--r--imap-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap-send.c b/imap-send.c
index fa703838cf..aeb2985b83 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -1207,7 +1207,7 @@ static struct store *imap_open_store(struct imap_server_conf *srvc)
if (!srvc->pass) {
char prompt[80];
sprintf(prompt, "Password (%s@%s): ", srvc->user, srvc->host);
- arg = getpass(prompt);
+ arg = git_getpass(prompt);
if (!arg) {
perror("getpass");
exit(1);