X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=bin%2Fgit-bisect-run;h=3af98cc17f3e80b6a5c696e6eae00ee03ef9ec12;hb=79429302311b547d73599e8aaa5981f4add9497b;hp=644a9d51cbac90c2245d438eccd14889bbc0ee2b;hpb=ee234d98a1db938a2dcaa5c7c28edbf6c2c6919e;p=nethome.git diff --git a/bin/git-bisect-run b/bin/git-bisect-run index 644a9d5..3af98cc 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 -trap 'git reset --hard;git clean -df;exit 200' EXIT +test -n "$*" +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 --disable-gdbserver --disable-gold +#errs12 -s --fast --disable-gold git reset --hard -git clean -df -errs1 -s --fast --disable-werror -errs2 trap '' EXIT set +e "$@" rc=$? set -e -git reset --hard -git clean -df +#git reset --hard +#git clean -dfx echo rc=$rc exit $rc