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 | 3bbf7bd6a002969fb8f99d24ed6a3cf588311178 (patch) | |
| tree | e6f91fc1f9e08c3cd188eac83bdfa2120bbd0bfa /Library | |
| parent | c8bdcbd327743e6b7378b70ee1eeb78af0f25a07 (diff) | |
| download | homebrew-3bbf7bd6a002969fb8f99d24ed6a3cf588311178.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')
| -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` |
