Add levels for refs and symrefs

This commit is contained in:
Sebastian Morr 2020-09-13 21:55:51 +02:00
parent cb2bb767db
commit 9ba485b789
7 changed files with 32 additions and 0 deletions
levels/05-ref

3
levels/05-ref/win Normal file
View file

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