From 8bdc7c170b20821233d8859f8b677ca0a9f568ce Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Tue, 5 Jan 2021 17:50:56 +0000 Subject: round-robin-bisect.sh: Simplify filtering of interesting commits Turns out "git bisect view --pretty=%H" does most of this work for us, so no need to check ancestors of good/bad commits. Change-Id: I405c8e29810da11ff65e0605be5b2dd6bb61ca3e --- round-robin-bisect.sh | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh index 527bc79f..8a49e0c0 100755 --- a/round-robin-bisect.sh +++ b/round-robin-bisect.sh @@ -341,8 +341,6 @@ print_tested_revs () # identified in other configurations. touch ../interesting-commits/$current_project # Generate list of commits inside the bisection range. -# It's surprising how expensive beloow "--is-ancestor" checks are, and it's -# a good optimization to skip commits outside of our bisect range quickly. commits_to_test=$artifacts/git-logs/commits_to_test git bisect view --pretty=%H > $commits_to_test # This loop can generate lots of console noise. @@ -353,43 +351,20 @@ while [ x"$(get_first_bad