diff options
| author | Mike McQuaid | 2014-11-17 10:26:27 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-17 10:26:27 +0000 |
| commit | 5d6b2e2219ba3ae52fdfc375a0eff687b6087519 (patch) | |
| tree | 275c57fcb9245eccd68aa2b545c6efa92c603b3e /Library/Homebrew | |
| parent | 1ed73f548ec46141819324681cf83791a8b675ea (diff) | |
| download | homebrew-5d6b2e2219ba3ae52fdfc375a0eff687b6087519.tar.bz2 | |
brew-pull: make close message detection more precise.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 1031a2f23..727a12555 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -132,7 +132,7 @@ module Homebrew end # If this is a pull request, append a close message. - unless message.include? 'Closes #' + unless message.include? "Closes ##{issue}." message += "\nCloses ##{issue}." safe_system 'git', 'commit', '--amend', '--signoff', '-q', '-m', message end |
