diff options
| author | Misty De Meo | 2012-04-11 10:17:24 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-04-11 10:22:11 -0500 |
| commit | 3a4899ebbc962b8d3e0c7c59c0304ff84993c759 (patch) | |
| tree | a840be7754ba87e83fa92b5fd9d690c4f978bb39 /Library/Contributions/cmds/brew-pull.rb | |
| parent | 4dc1a7bdce4d2b311c2ca2507ecdd5654a813f2b (diff) | |
| download | brew-3a4899ebbc962b8d3e0c7c59c0304ff84993c759.tar.bz2 | |
brew-pull: Fix detecting issue #
Fixes a regression introduced in c27a575eb6b2dfc0d662aaab2cf9d754647fbadd
This is why I wish 1.8.x had named captures.
Diffstat (limited to 'Library/Contributions/cmds/brew-pull.rb')
| -rwxr-xr-x | Library/Contributions/cmds/brew-pull.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmds/brew-pull.rb b/Library/Contributions/cmds/brew-pull.rb index f17ecdbc7..5f4c1d2c0 100755 --- a/Library/Contributions/cmds/brew-pull.rb +++ b/Library/Contributions/cmds/brew-pull.rb @@ -53,7 +53,7 @@ ARGV.named.each do|arg| safe_system 'git', *patch_args - issue = arg.to_i > 0 ? arg.to_i : url_match[2] + issue = arg.to_i > 0 ? arg.to_i : url_match[3] if issue and not ARGV.include? '--clean' ohai "Patch closes issue ##{issue}" message = `git log HEAD^.. --format=%B` |
