git-svn: Support retrieving passwords with GIT_ASKPASS
authorFrank Li <lznuaa@gmail.com>
Tue, 2 Mar 2010 11:47:52 +0000 (19:47 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Mar 2010 20:52:51 +0000 (12:52 -0800)
commit56a853b62c0ae7ebaad0a7a0a704f5ef561eb795
tree7b5ab48adb06fe80336b2ff84cd697a9c1d426a0
parent82cd8358e8203fa02da18e8ee71449cb45c4157d
git-svn: Support retrieving passwords with GIT_ASKPASS

git-svn reads passwords from an interactive terminal.
This behavior cause GUIs to hang waiting for git-svn to
complete

Fix this problem by allowing a password-retrieving command
to be specified in GIT_ASKPASS. SSH_ASKPASS is supported
as a fallback when GIT_ASKPASS is not provided.

Signed-off-by: Frank Li <lznuaa@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl