From: Sven Strickroth Date: Tue, 18 Dec 2012 00:28:48 +0000 (+0100) Subject: git-svn, perl/Git.pm: extend and use Git->prompt method for querying users X-Git-Tag: v1.8.1.1~25^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e9263e458055ab361a7292adc800d3e62b47b39f?ds=inline;hp=e9263e458055ab361a7292adc800d3e62b47b39f git-svn, perl/Git.pm: extend and use Git->prompt method for querying users git-svn reads usernames and other user queries from an interactive terminal. This cause GUIs (w/o STDIN connected) to hang waiting forever for git-svn to complete (http://code.google.com/p/tortoisegit/issues/detail?id=967). This change extends the Git::prompt helper, so that it can also be used for non password queries, and makes use of it instead of using hand-rolled prompt-response code that only works with the interactive terminal. Signed-off-by: Sven Strickroth Signed-off-by: Junio C Hamano ---