You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
437B

  1. #!/bin/sh
  2. set -e
  3. case "$1" in
  4. need)
  5. case $2 in
  6. ffmpeg|ffplay|ffprobe|ffserver)
  7. echo $2.c >> need
  8. ;;
  9. esac
  10. ;;
  11. start|reset)
  12. echo . > need
  13. git bisect $*
  14. ;;
  15. skip)
  16. git bisect $*
  17. ;;
  18. good|bad)
  19. git bisect $*
  20. until ls `cat need` > /dev/null 2> /dev/null; do
  21. git bisect skip || break
  22. done
  23. ;;
  24. esac