Write win scripts for all levels (with a short, fun trip to quote hell)

This commit is contained in:
Sebastian Morr 2020-09-11 12:23:26 +02:00
parent 2aefdf8391
commit 7c82381e8d
9 changed files with 50 additions and 18 deletions
levels/03-commit

3
levels/03-commit/win Normal file
View file

@ -0,0 +1,3 @@
COMMIT_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep commit | wc -l)
test "$COMMIT_COUNT" -gt 0