Tweaks to jspricke's level improvements

Especially, introduce a better way to count branches
This commit is contained in:
blinry 2021-01-04 13:57:39 +01:00
parent 6141268bdd
commit 21d8366dbb
2 changed files with 2 additions and 2 deletions
levels/time-machine

View file

@ -27,7 +27,7 @@ git checkout HEAD~1
[win]
NUM_BRANCHES="$(git branch -a | wc -l)"
NUM_BRANCHES="$(git show-ref --heads | wc -l)"
test "$NUM_BRANCHES" -ge 3
[congrats]