oh-my-git/levels/internals/ref-create/win
2020-10-01 15:03:02 +02:00

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"