aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/tap.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb
index 3da9f3f24..0c8960cbd 100644
--- a/Library/Homebrew/cmd/tap.rb
+++ b/Library/Homebrew/cmd/tap.rb
@@ -19,6 +19,9 @@ module Homebrew
end
def install_tap(user, repo, clone_target = nil)
+ # ensure git is installed
+ Utils.ensure_git_installed!
+
tap = Tap.new user, repo
return false if tap.installed?
ohai "Tapping #{tap}"