aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/bottle.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-12-01 10:25:07 -0800
committerMike McQuaid2013-12-01 10:26:20 -0800
commitfe4370cdd017ec47e80e60d528cb2837528b8a22 (patch)
tree3fdaea72ec475d080f242fe2fcbc03014a1f2def /Library/Homebrew/cmd/bottle.rb
parent2b8e0c8f795a6e9a44cbd9731e34a0fbc8110bdd (diff)
downloadbrew-fe4370cdd017ec47e80e60d528cb2837528b8a22.tar.bz2
bottle: make writing commit message more robust.
Diffstat (limited to 'Library/Homebrew/cmd/bottle.rb')
-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