mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-29 20:29:00 +02:00
Add levels for refs and symrefs
This commit is contained in:
parent
cb2bb767db
commit
9ba485b789
7 changed files with 32 additions and 0 deletions
levels/05-ref
3
levels/05-ref/win
Normal file
3
levels/05-ref/win
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue