Set GIT_TERMINAL_PROMPT=0 when running Git
commit251fd06738471e7e10aa6b344ffcd7aab9fa76d8
authorKyle J. McKay <mackyle@gmail.com>
Sun, 7 Dec 2014 00:55:40 +0000 (6 16:55 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 7 Dec 2014 00:55:40 +0000 (6 16:55 -0800)
tree1f8fbeb357cab6dcc513fb7813b786f93b310418
parentbf9117309d68da492fbcbfa465449d2fe14d8d95
Set GIT_TERMINAL_PROMPT=0 when running Git

This will cause any prompts in response to remote 401 errors to
be suppressed and fail immediately (if running a version of Git
which supports GIT_TERMINAL_PROMPT=0).  Since we do not provide
a mechanism to interactively supply passwords when fetching from
a mirror this is a good thing and will cause the fetch to die
right away rather than waiting for its 15m timeout to get killed.
Girocco/Config.pm
bin/git-shell-verify
shlib.sh