aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-01-30 16:50:43 +0100
committerMike McQuaid2014-01-30 16:58:12 +0100
commit2e7c4236090c06def65b9d6fc64409337dcb9f55 (patch)
tree7e9f9f0af86eeca1d33b777ab132c71dcc4c39a2 /Library
parenta42ac924dd711eba803569e79f5417f71e2253fe (diff)
downloadbrew-2e7c4236090c06def65b9d6fc64409337dcb9f55.tar.bz2
bottle: show diff before trying to commit.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 0d2bce448..a299fa3be 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -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