diff options
| author | Mike McQuaid | 2011-01-02 11:42:44 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2011-01-02 11:42:44 +0000 |
| commit | 5b6e6139939030f9bbed91e5e5f9d84c8c90e9e3 (patch) | |
| tree | 357abea6213462267fb7e6592d4743d93de38a21 /Library | |
| parent | 877e911cbab69b2a64b56e187beb3783f960b473 (diff) | |
| download | brew-5b6e6139939030f9bbed91e5e5f9d84c8c90e9e3.tar.bz2 | |
brew-pull: Only append "Closes" to last commit.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-pull.rb | 2 |
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 #' |
