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
commit33c774b3d5be450ba76a74e6014d08c31e26a7d1 (patch)
treea671a9cf34bb1de9a710c8f171101f8c21a10e34 /Library/Homebrew/cmd/pull.rb
parentb744f60216bf31afc7c1134b40ec64f7f0959bac (diff)
downloadhomebrew-33c774b3d5be450ba76a74e6014d08c31e26a7d1.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