aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-11-17 10:26:27 +0000
committerMike McQuaid2014-11-17 10:26:27 +0000
commitda3c9a1e167ec4f1d819bae0296e4567c3425078 (patch)
treec3f29932c2734903f438723cd671ec63e011e26a /Library
parente00a6e4c4d324b8872a3aa27ce2483b1e351c3b1 (diff)
downloadbrew-da3c9a1e167ec4f1d819bae0296e4567c3425078.tar.bz2
brew-pull: make close message detection more precise.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/pull.rb2
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