do bisect reset, not checkout

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-08-17 08:14:07 +02:00
parent 718d769d0c
commit 0ce6f62c0b
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ if [ ! "$(./src/__main__.py -oX +f firefox 3>&1 >/dev/null | head -n 1)" = "pony
# This part is a little hacky as I assume git use locale settings for the language and there seems to be no good way to automate a bisect.
nowlog="$(git bisect log | tail -n 1)"
if [ "${nowlog}" = "${lastlog}" ]; then
git checkout master
git bisect reset
exit 1
fi
done

View file

@ -24,7 +24,7 @@ if [ ! "$(./src/__main__.py -oX -f sweetiesing 3>&1 >/dev/null | head -n 1)" = "
# This part is a little hacky as I assume git use locale settings for the language and there seems to be no good way to automate a bisect.
nowlog="$(git bisect log | tail -n 1)"
if [ "${nowlog}" = "${lastlog}" ]; then
git checkout master
git bisect reset
exit 1
fi
done