diff options
| author | Mike McQuaid | 2015-01-23 17:34:49 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-23 17:35:20 +0100 |
| commit | 105fcb5399a5d644dfca52ad62164386a622dd82 (patch) | |
| tree | 5010caf0ebd559936e80260abef6e4a2d5603ede /Library | |
| parent | bf6887bc597ecc1c796708cf3ecaac9eaa6a00d7 (diff) | |
| download | brew-105fcb5399a5d644dfca52ad62164386a622dd82.tar.bz2 | |
pull: allow temporarily editing an empty commit.
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 8294f0493..803af6609 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -135,7 +135,7 @@ module Homebrew # If this is a pull request, append a close message. unless message.include? "Closes ##{issue}." message += "\nCloses ##{issue}." - safe_system 'git', 'commit', '--amend', '--signoff', '-q', '-m', message + safe_system 'git', 'commit', '--amend', '--signoff', '--allow-empty', '-q', '-m', message end end |
