aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-12-01 10:25:07 -0800
committerMike McQuaid2013-12-01 10:26:20 -0800
commit90cf3ba4583eebb429edf58deea63425fa492718 (patch)
tree0b0dbf2f7802503f27fd21d73e8c023bb294a121 /Library
parentf213b77b9bf3177bbfffad4dc23e410b1965ecf2 (diff)
downloadhomebrew-90cf3ba4583eebb429edf58deea63425fa492718.tar.bz2
bottle: make writing commit message more robust.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 9ad220ba1..40176d4c9 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -207,8 +207,9 @@ module Homebrew extend self
update_or_add = has_bottle_block ? 'update' : 'add'
- safe_system 'git', 'commit', formula_path, '-m',
- "#{f.name}: #{update_or_add} #{f.version} bottle."
+ safe_system 'git', 'commit', '--no-edit', '--verbose',
+ "--message=#{f.name}: #{update_or_add} #{f.version} bottle.",
+ '--', formula_path
end
end
exit 0