mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
8 lines
178 B
Text
8 lines
178 B
Text
|
BLOB_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep blob | wc -l)
|
||
|
|
||
|
if [ "$BLOB_COUNT" -gt 2 ]; then
|
||
|
echo yes
|
||
|
else
|
||
|
echo no
|
||
|
fi
|