diff options
| author | Mike McQuaid | 2016-02-12 12:54:47 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-02-12 13:17:17 +0000 |
| commit | 9d6a1a693e7ce164869c082059e488c6c9596320 (patch) | |
| tree | 682dd89573573de034940a932172d66f56be269a /Library | |
| parent | 0322d9bd82c2663daf89b28dec32378eea3fb90c (diff) | |
| download | brew-9d6a1a693e7ce164869c082059e488c6c9596320.tar.bz2 | |
update-bash: don't prompt for passwords.
We execute too many `git fetch` at once for this to be useful. Just let
them fail instead and make it up to users to setup username/password
caching or SSH agents.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/update-bash.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update-bash.sh b/Library/Homebrew/cmd/update-bash.sh index bcc721bbc..f75abb614 100644 --- a/Library/Homebrew/cmd/update-bash.sh +++ b/Library/Homebrew/cmd/update-bash.sh @@ -303,6 +303,9 @@ EOS odie "Git must be installed and in your PATH!" fi fi + export GIT_TERMINAL_PROMPT="0" + export GIT_ASKPASS="false" + export GIT_SSH_COMMAND="ssh -oBatchMode=yes" if [[ -z "$HOMEBREW_VERBOSE" ]] then |
