aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/pull.rb
diff options
context:
space:
mode:
authorMike McQuaid2015-01-23 17:34:49 +0100
committerMike McQuaid2015-01-23 17:35:20 +0100
commit105fcb5399a5d644dfca52ad62164386a622dd82 (patch)
tree5010caf0ebd559936e80260abef6e4a2d5603ede /Library/Homebrew/cmd/pull.rb
parentbf6887bc597ecc1c796708cf3ecaac9eaa6a00d7 (diff)
downloadbrew-105fcb5399a5d644dfca52ad62164386a622dd82.tar.bz2
pull: allow temporarily editing an empty commit.
Diffstat (limited to 'Library/Homebrew/cmd/pull.rb')
-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 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