From bec7ff9807d73bf2ac641dfa3d46abeae0b9eccc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Jun 2013 12:48:57 +0100 Subject: Update pull request regex name to include commits. --- Library/Contributions/cmd/brew-pull.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Contributions/cmd/brew-pull.rb') diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb index 6a055f77b..521df766b 100755 --- a/Library/Contributions/cmd/brew-pull.rb +++ b/Library/Contributions/cmd/brew-pull.rb @@ -21,7 +21,7 @@ ARGV.named.each do|arg| if arg.to_i > 0 url = 'https://github.com/mxcl/homebrew/pull/' + arg else - url_match = arg.match HOMEBREW_PULL_URL_REGEX + url_match = arg.match HOMEBREW_PULL_OR_COMMIT_URL_REGEX unless url_match ohai 'Ignoring URL:', "Not a GitHub pull request or commit: #{arg}" next -- cgit v1.2.3