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: Alexander Strasser <eclipse7@gmx.net>
This commit is contained in:
Alexander Strasser 2012-07-11 23:12:00 +02:00
parent 6a2bad2c4f
commit 3f22fcce3a
1 changed files with 4 additions and 0 deletions

View File

@ -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