bottle: show diff before trying to commit.
This commit is contained in:
parent
a42ac924dd
commit
2e7c423609
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user