mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 05:47:59 +01:00
do bisect reset, not checkout
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
718d769d0c
commit
0ce6f62c0b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue