summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-01-19 14:19:04 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-01-21 14:27:28 +0000
commit0c835eb199b4627685e1b747bdfdeab0ec3fe221 (patch)
tree59738cd25a12be5733c13dc8ccae2da355504519
parenta87534dd6f75beb6544418d98d946906766dba7a (diff)
round-robin.sh: Make clone_repo clean repos during bisect builds
The bisect builds should use revisions of repos checked out by the bisect script, but we should still clean the directories from stale files. Change-Id: I5d3dd237d0f7ff165eeea1ccd8a2cdad1e9c091a
-rw-r--r--round-robin.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/round-robin.sh b/round-robin.sh
index e843f4a2..45190df0 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -77,7 +77,8 @@ clone_repo ()
local project="$1"
if [ x"${rr[mode]}" = x"bisect" ]; then
- # Don't touch anything in bisect mode.
+ # Cleanup current checkout in bisect mode.
+ git_clean "$project"
return 0
fi