Skip to content

Commit

Permalink
update-bash: don't prompt for passwords.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MikeMcQuaid committed Feb 12, 2016
1 parent 0322d9b commit 9d6a1a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Homebrew/cmd/update-bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d6a1a6

Please sign in to comment.