[FFmpeg-cvslog] tools/bisect-create: Support "bisect run"

Alexander Strasser git at videolan.org
Tue Jul 24 01:43:03 CEST 2012


ffmpeg | branch: master | Alexander Strasser <eclipse7 at gmx.net> | Wed Jul 11 23:12:00 2012 +0200| [3f22fcce3ae67ef052b435a8aaee266e258f0734] | committer: 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: Alexander Strasser <eclipse7 at gmx.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3f22fcce3ae67ef052b435a8aaee266e258f0734
---

 tools/bisect-create |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/bisect-create b/tools/bisect-create
index 6442b5c..fc60e86 100755
--- a/tools/bisect-create
+++ b/tools/bisect-create
@@ -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



More information about the ffmpeg-cvslog mailing list