Commit 3f22fcce authored by Alexander Strasser's avatar Alexander Strasser

tools/bisect-create: Support "bisect run"

  Make it possible to use the run bisect sub command. As with all
other ffbisect commands, revisions that do not contain the needed
tools are skipped.
Signed-off-by: 's avatarAlexander Strasser <eclipse7@gmx.net>
parent 6a2bad2c
......@@ -39,4 +39,8 @@ case "$1" in
git bisect skip || break
done
;;
run)
shift # remove "run" from arguments
git bisect run sh -c "ls \`cat tools/bisect.need\` > /dev/null 2> /dev/null || exit 125; \"\$@\"" sh "$@"
;;
esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment