aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-02-12 12:54:47 +0000
committerMike McQuaid2016-02-12 13:17:17 +0000
commit9d6a1a693e7ce164869c082059e488c6c9596320 (patch)
tree682dd89573573de034940a932172d66f56be269a /Library
parent0322d9bd82c2663daf89b28dec32378eea3fb90c (diff)
downloadbrew-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.sh3
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