tools/bisect: rename temporary file and add it to git ignore

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Michael Niedermayer 13 years ago
parent ccc0a3a9fa
commit 6de70d7fbf
  1. 1
      .gitignore
  2. 6
      tools/bisect

1
.gitignore vendored

@ -48,6 +48,7 @@
/tests/vsynth1/ /tests/vsynth1/
/tools/aviocat /tools/aviocat
/tools/ffbisect /tools/ffbisect
/tools/bisect.need
/tools/cws2fws /tools/cws2fws
/tools/ffeval /tools/ffeval
/tools/graph2dot /tools/graph2dot

@ -23,12 +23,12 @@ case "$1" in
need) need)
case $2 in case $2 in
ffmpeg|ffplay|ffprobe|ffserver) ffmpeg|ffplay|ffprobe|ffserver)
echo $2.c >> need echo $2.c >> tools/bisect.need
;; ;;
esac esac
;; ;;
start|reset) start|reset)
echo . > need echo . > tools/bisect.need
git bisect $* git bisect $*
;; ;;
skip) skip)
@ -37,7 +37,7 @@ case "$1" in
good|bad) good|bad)
git bisect $* git bisect $*
until ls `cat need` > /dev/null 2> /dev/null; do until ls `cat tools/bisect.need` > /dev/null 2> /dev/null; do
git bisect skip || break git bisect skip || break
done done
;; ;;

Loading…
Cancel
Save