X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Fgit-bisect-run;h=a7c48abc2b14e870ef969adc10a6ece3c0627446;hp=ae225fc31882a5f624815b6cee4f79fc60e69419;hb=14622f25bcaffc72404bcd9f51b0ac602c08ef62;hpb=b34a67ecb15129642f137f28848a28be6e3110b7 diff --git a/bin/git-bisect-run b/bin/git-bisect-run index ae225fc..a7c48ab 100755 --- a/bin/git-bisect-run +++ b/bin/git-bisect-run @@ -1,18 +1,21 @@ #! /bin/sh -# $Id$ +# $Id: git-bisect-run,v 1.3 2010/01/23 00:14:18 jkratoch Exp $ set -ex test -n "$*" -trap 'git reset --hard;git clean -df;exit 125' EXIT +trap 'sleep 0;git reset --hard;git clean -dfx;exit 125' EXIT +git reset --hard +git clean -dfx +# patch -p1 <~/t/bisect.patch || : +errs12 -s --fast --disable-werror --without-python --disable-plugins $(: echo --disable-gdbserver) --disable-gold +#errs12 -s --fast --disable-gold git reset --hard -git clean -df -errs12 -s --fast --disable-werror --without-python --disable-plugins trap '' EXIT set +e "$@" rc=$? set -e -#git reset --hard -#git clean -df +git reset --hard +#git clean -dfx echo rc=$rc exit $rc