oh-my-git/levels/01-blob/win
2020-09-10 12:47:18 +02:00

7 lines
175 B
Text

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