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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-03 13:57:15 +02:00
parent ccc0a3a9fa
commit 6de70d7fbf
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

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

View File

@ -23,12 +23,12 @@ case "$1" in
need)
case $2 in
ffmpeg|ffplay|ffprobe|ffserver)
echo $2.c >> need
echo $2.c >> tools/bisect.need
;;
esac
;;
start|reset)
echo . > need
echo . > tools/bisect.need
git bisect $*
;;
skip)
@ -37,7 +37,7 @@ case "$1" in
good|bad)
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
done
;;