aboutsummaryrefslogtreecommitdiffstats
path: root/bin/brew
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-07 07:00:27 -0800
committerAdam Vandenberg2012-03-07 07:00:27 -0800
commit1f774a81415e3fb049e00a434e05d33ca532441d (patch)
tree6cdb863563ac15c9dee497927cab565d5b9f548f /bin/brew
parent9b21d5e1f2a144122e8e47352f6b7fc84fbdca11 (diff)
downloadhomebrew-1f774a81415e3fb049e00a434e05d33ca532441d.tar.bz2
Remove 'is this a git command?'
Diffstat (limited to 'bin/brew')
-rwxr-xr-xbin/brew10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/brew b/bin/brew
index f2eac398d..e5a5e685e 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