aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-11-10 08:41:10 +0000
committerMike McQuaid2012-11-10 08:41:10 +0000
commitd01adbc987b5b35c2724b8daf52fc1f79e1b8e12 (patch)
tree8b5613a0eec65403d39a37392a7e0196d6434e7f /Library
parent623bbb2ada8b3728715047e57d66c353d6f538ef (diff)
downloadbrew-d01adbc987b5b35c2724b8daf52fc1f79e1b8e12.tar.bz2
brew-test-bot: --cleanup (not --clean) and fetch origin.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmds/brew-test-bot.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Contributions/cmds/brew-test-bot.rb b/Library/Contributions/cmds/brew-test-bot.rb
index 844e954f6..64c7acba3 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