oh-my-git/levels/ref-create/win
2020-09-15 14:51:31 +02:00

4 lines
159 B
Plaintext

OBJECTS=$(git cat-file --batch-check='%(objectname)' --batch-all-objects | sort)
REF_TARGETS=$(git show-ref -s | sort | uniq)
test "$OBJECTS" = "$REF_TARGETS"