aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/requirements.rb')
-rw-r--r--Library/Homebrew/requirements.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb
index f6c64a090..b195af98e 100644
--- a/Library/Homebrew/requirements.rb
+++ b/Library/Homebrew/requirements.rb
@@ -93,3 +93,9 @@ class MercurialDependency < Requirement
satisfy { which('hg') }
end
+
+class GitDependency < Requirement
+ fatal true
+ default_formula 'git'
+ satisfy { which('git') }
+end