aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/cmd
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/Contributions/cmd
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/Contributions/cmd')
-rwxr-xr-xLibrary/Contributions/cmd/brew-versions.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-versions.rb b/Library/Contributions/cmd/brew-versions.rb
index 3a0fd6b64..ff3b2bfe0 100755
--- a/Library/Contributions/cmd/brew-versions.rb
+++ b/Library/Contributions/cmd/brew-versions.rb
@@ -1,6 +1,5 @@
require "formula_versions"
-raise "Please `brew install git` first" unless which "git"
raise "Please `brew update` first" unless (HOMEBREW_REPOSITORY/".git").directory?
raise FormulaUnspecifiedError if ARGV.named.empty?