aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-10-19 18:56:18 -0700
committerAdam Vandenberg2012-10-19 18:56:18 -0700
commit240deab361f5b1424f1d32356f724cb91f6bc8ce (patch)
tree49cd112e3d0a71bfac7a426cf1b71662c385283b /Library
parentafa3ce97bc7bfb10442558f8f094f4c9d23abede (diff)
downloadhomebrew-240deab361f5b1424f1d32356f724cb91f6bc8ce.tar.bz2
Sanity check
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmds/brew-pull.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Contributions/cmds/brew-pull.rb b/Library/Contributions/cmds/brew-pull.rb
index 5f4c1d2c0..e66fdf41f 100755
--- a/Library/Contributions/cmds/brew-pull.rb
+++ b/Library/Contributions/cmds/brew-pull.rb
@@ -12,6 +12,10 @@ if ARGV.empty?
onoe 'This command requires at least one argument containing a URL or pull request number'
end
+if ARGV[0] == '--rebase'
+ onoe 'You meant `git pull --rebase`.'
+end
+
ARGV.named.each do|arg|
if arg.to_i > 0
url = 'https://github.com/mxcl/homebrew/pull/' + arg