mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-09 19:04:36 +01:00
3 lines
159 B
Text
3 lines
159 B
Text
OBJECTS=$(git cat-file --batch-check='%(objectname)' --batch-all-objects | sort)
|
|
REF_TARGETS=$(git show-ref -s | sort | uniq)
|
|
test "$OBJECTS" = "$REF_TARGETS"
|