diff options
| author | Sven Strickroth <sven.strickroth@tu-clausthal.de> | 2012-01-04 00:24:57 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2012-01-03 15:44:39 -0800 |
| commit | 15eaaf4a3894aaa3d6d5ae662f07a97cdab70d58 (patch) | |
| tree | cbee69adbe0fad30b50939fe7a424c358fb19e24 /notes-cache.c | |
| parent | a4ad8cda8c3c68c40c22b0ef118fa03b58a17d7d (diff) | |
| download | git-15eaaf4a3894aaa3d6d5ae662f07a97cdab70d58.tar.gz | |
git-svn, perl/Git.pm: extend Git::prompt helper for querying users
git-svn reads usernames and other user queries from an interactive
terminal. This cause GUIs to hang waiting forever for git-svn to complete
(http://code.google.com/p/tortoisegit/issues/detail?id=967) if they are
not connected to the terminal. Give *_ASKPASS helpers preference over
terminal when asking for usernames in git-svn to work around this issue.
This change is technically a small regression for users who have *_ASKPASS
environment defined and expect the username to be read from the terminal;
they now have to type their username to GUI helpers that are likely to be
designed to read passwords without echoing. We may want to swap the
precedence so that we try terminal first when we can to fix this, but that
is outside the scope of this patch.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-cache.c')
0 files changed, 0 insertions, 0 deletions
