aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-06 14:10:52 -0500
committerJack Nagel2014-07-06 14:10:52 -0500
commit44254aa9cf967bb558a8722b799c280c32e8e12c (patch)
treeafa1d0606c04fce70646a87ad987a5b7d18642e8 /Library/Homebrew/cmd/update.rb
parentdae83fc89586938ca6bebcf22c1c38022bb91303 (diff)
downloadbrew-44254aa9cf967bb558a8722b799c280c32e8e12c.tar.bz2
Remove redundant "which git" guards
There is always a git executable on PATH due to the git wrapper in Library/Contributions/cmd. The wrapper will notify the user if there is not a real git installed.
Diffstat (limited to 'Library/Homebrew/cmd/update.rb')
-rw-r--r--Library/Homebrew/cmd/update.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index b85a355b8..4040d343e 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -9,7 +9,6 @@ module Homebrew
Use `brew upgrade <formula>`.
EOS
end
- abort "Please `brew install git' first." unless which "git"
# ensure GIT_CONFIG is unset as we need to operate on .git/config
ENV.delete('GIT_CONFIG')