mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-29 20:29:00 +02:00
Write win scripts for all levels (with a short, fun trip to quote hell)
This commit is contained in:
parent
2aefdf8391
commit
7c82381e8d
9 changed files with 50 additions and 18 deletions
levels/01-blob
|
@ -1,7 +1,3 @@
|
|||
BLOB_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep blob | wc -l)
|
||||
|
||||
if [ "$BLOB_COUNT" -gt 2 ]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
test "$BLOB_COUNT" -gt 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue