Add 'rebase' to accidental git commands.
This commit is contained in:
parent
1ade7ef4e0
commit
5e1632c1e2
6
bin/brew
6
bin/brew
@ -329,9 +329,6 @@ begin
|
||||
end
|
||||
end
|
||||
|
||||
when 'branch', 'checkout', 'pull', 'push', 'reset'
|
||||
onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"
|
||||
|
||||
when 'cat'
|
||||
Dir.chdir HOMEBREW_REPOSITORY
|
||||
exec "cat", ARGV.formulae.first.path, *ARGV.options
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user