From d01adbc987b5b35c2724b8daf52fc1f79e1b8e12 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 10 Nov 2012 08:41:10 +0000 Subject: [PATCH] brew-test-bot: --cleanup (not --clean) and fetch origin. --- Library/Contributions/cmds/brew-test-bot.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Contributions/cmds/brew-test-bot.rb b/Library/Contributions/cmds/brew-test-bot.rb index 844e954f69..64c7acba34 100755 --- a/Library/Contributions/cmds/brew-test-bot.rb +++ b/Library/Contributions/cmds/brew-test-bot.rb @@ -211,7 +211,8 @@ class Test def cleanup @category = __method__ - if ARGV.include? "--clean" + if ARGV.include? "--cleanup" + test "git fetch origin" test "git reset --hard origin/master" test "git clean --force -dx" else