aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2011-01-02 11:42:44 +0000
committerMike McQuaid2011-01-02 11:42:44 +0000
commit5b6e6139939030f9bbed91e5e5f9d84c8c90e9e3 (patch)
tree357abea6213462267fb7e6592d4743d93de38a21 /Library
parent877e911cbab69b2a64b56e187beb3783f960b473 (diff)
downloadbrew-5b6e6139939030f9bbed91e5e5f9d84c8c90e9e3.tar.bz2
brew-pull: Only append "Closes" to last commit.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-pull.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-pull.rb b/Library/Contributions/examples/brew-pull.rb
index 544645486..d96811b6f 100755
--- a/Library/Contributions/examples/brew-pull.rb
+++ b/Library/Contributions/examples/brew-pull.rb
@@ -38,7 +38,7 @@ HOMEBREW_REPOSITORY.cd do
issue = urlmatch[2]
if issue
ohai "Patch closes issue ##{issue}"
- message = `git log #{revision}.. --format=%B`
+ message = `git log HEAD^.. --format=%B`
# If this is a pull request, append a close message.
if !message.include? 'Closes #'