diff options
| author | Mike McQuaid | 2014-11-17 10:26:27 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-17 10:26:27 +0000 |
| commit | da3c9a1e167ec4f1d819bae0296e4567c3425078 (patch) | |
| tree | c3f29932c2734903f438723cd671ec63e011e26a /Library | |
| parent | e00a6e4c4d324b8872a3aa27ce2483b1e351c3b1 (diff) | |
| download | brew-da3c9a1e167ec4f1d819bae0296e4567c3425078.tar.bz2 | |
brew-pull: make close message detection more precise.
Diffstat (limited to 'Library')
| -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 |
