Add 'rebase' to accidental git commands.

This commit is contained in:
Adam Vandenberg 2010-02-27 18:07:17 -08:00
parent 1ade7ef4e0
commit 5e1632c1e2

View File

@ -328,9 +328,6 @@ begin
puts "#{name} depends on #{our_deps.join(", ")}"
end
end
when 'branch', 'checkout', 'pull', 'push', 'reset'
onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"
when 'cat'
Dir.chdir HOMEBREW_REPOSITORY
@ -352,6 +349,9 @@ begin
end
end
when 'branch', 'checkout', 'pull', 'push', 'rebase', 'reset'
onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"
else
onoe "Unknown command: #{arg}"
end