From 2e7c4236090c06def65b9d6fc64409337dcb9f55 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 30 Jan 2014 16:50:43 +0100 Subject: bottle: show diff before trying to commit. --- Library/Homebrew/cmd/bottle.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') 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 -- cgit v1.2.3