mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-26 20:33:20 +01:00
4 lines
129 B
Text
4 lines
129 B
Text
|
OBJECT_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | wc -l)
|
||
|
|
||
|
test "$OBJECT_COUNT" -eq 0
|