git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad723c
)
fixup
author
jkratoch
<>
Thu, 31 Dec 2009 21:07:25 +0000
(21:07 +0000)
committer
jkratoch
<>
Thu, 31 Dec 2009 21:07:25 +0000
(21:07 +0000)
bin/git-bisect-run
patch
|
blob
|
history
diff --git
a/bin/git-bisect-run
b/bin/git-bisect-run
index
7bcf12f
..
644a9d5
100755
(executable)
--- a/
bin/git-bisect-run
+++ b/
bin/git-bisect-run
@@
-2,10
+2,17
@@
# $Id$
set -ex
-trap '
exit 125
' EXIT
+trap '
git reset --hard;git clean -df;exit 200
' EXIT
git reset --hard
git clean -df
errs1 -s --fast --disable-werror
errs2
trap '' EXIT
-exec "$@"
+set +e
+"$@"
+rc=$?
+set -e
+git reset --hard
+git clean -df
+echo rc=$rc
+exit $rc