From 09516e1613487084ec3e9a930833b4e9a4e49ef6 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 20 Oct 2015 12:28:09 +0100 Subject: [PATCH] test-bot: fix testing builds building everything. We don't care about the formulae that have changed since the last commit so just ignore it. --- Library/Homebrew/cmd/test-bot.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index 9859ea6e4c..b0c40bbea7 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -336,6 +336,7 @@ module Homebrew # Handle formulae arguments being passed on the command-line e.g. `brew test-bot wget fish`. elsif @formulae && @formulae.any? @name = "#{@formulae.first}-#{diff_end_sha1}" + diff_start_sha1 = diff_end_sha1 # Handle a hash being passed on the command-line e.g. `brew test-bot 1a2b3c`. elsif @hash test "git", "checkout", @hash