oh-my-git/levels/bottom-up/blob-remove/win

4 lines
129 B
Plaintext

OBJECT_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | wc -l)
test "$OBJECT_COUNT" -eq 0