bottle: show diff before trying to commit.

This commit is contained in:
Mike McQuaid 2014-01-30 16:50:43 +01:00
parent a42ac924dd
commit 2e7c423609

View File

@ -219,6 +219,7 @@ module Homebrew extend self
update_or_add = has_bottle_block ? 'update' : 'add'
system 'git', 'diff'
safe_system 'git', 'commit', '--no-edit', '--verbose',
"--message=#{f.name}: #{update_or_add} #{f.version} bottle.",
'--', f.path