aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-02-27 18:07:17 -0800
committerAdam Vandenberg2010-02-27 19:33:16 -0800
commit5e1632c1e2902eee3bc4f28b26c8ad375a257b05 (patch)
tree415430c5c5dcec9fabfb2512828d65174d902fae
parent1ade7ef4e0d5c11fd4c8720f9268d23ff3db1e90 (diff)
downloadbrew-5e1632c1e2902eee3bc4f28b26c8ad375a257b05.tar.bz2
Add 'rebase' to accidental git commands.
-rwxr-xr-xbin/brew6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/brew b/bin/brew
index 79eb5ccc7..bd848a9f1 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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