diff options
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` |
