From 105fcb5399a5d644dfca52ad62164386a622dd82 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 23 Jan 2015 17:34:49 +0100 Subject: [PATCH] pull: allow temporarily editing an empty commit. --- Library/Homebrew/cmd/pull.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 8294f04932..803af66098 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