From a396e5e720a7d583514a900585a72e39edf066a1 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 7 Mar 2012 07:00:27 -0800 Subject: [PATCH] Remove 'is this a git command?' --- bin/brew | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/bin/brew b/bin/brew index f2eac398d9..e5a5e685ef 100755 --- a/bin/brew +++ b/bin/brew @@ -82,14 +82,8 @@ begin elsif require? HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"/cmd Homebrew.send cmd.to_s.gsub('-', '_') else - # Check for git commands - if %w[branch checkout pull push rebase reset].include? cmd - onoe "Unknown command: #{cmd} (did you mean `git #{cmd}'?)" - exit 1 - else - onoe "Unknown command: #{cmd}" - exit 1 - end + onoe "Unknown command: #{cmd}" + exit 1 end rescue FormulaUnspecifiedError