Skip to content

Instantly share code, notes, and snippets.

@alikins
Created June 21, 2018 19:44
Show Gist options
  • Save alikins/2597a52edde809b911572ad5aff6a802 to your computer and use it in GitHub Desktop.
Save alikins/2597a52edde809b911572ad5aff6a802 to your computer and use it in GitHub Desktop.
start-bisect.sh
#!/bin/bash
# This needs to be run from the ansible git checkout (not the repro dir,
# despite it living there)
git checkout devel
# flip the terms so we bisect inverse/backwards/flipflopped/orthonally
git bisect start --term-old broken --term-new fixed
# devel is 'fixed' and we are in tip of devel
git bisect fixed
# but it's known busted in stable-2.4. means we will bisect across a merge
# base but thats okay.
git bisect broken stable-2.4
# also need to copy bisect-ansible-find-fix.sh to root of ansible git repo
# also despite living in the repro dir
git bisect run ./bisect-ansible-find-fix.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment