Convert "internal" levels to new level format

This commit is contained in:
Sebastian Morr 2020-10-12 18:54:27 +02:00
parent 613b1b9852
commit 53a6885ef9
108 changed files with 727 additions and 382 deletions

View file

@ -1,3 +1,19 @@
[description]
Construct a chain of three trees, which don't point to anything else.
This is hard! The `git mktree` command might be useful.
[setup]
[setup goal]
git mktree
TREE=$(echo -e "040000 tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904\tdir" | git mktree)
echo -e "040000 tree $TREE\tdir" | git mktree
[win]
TREES=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep tree | cut -f1 -d" ")
for TREE in $TREES; do

View file

@ -1,3 +0,0 @@
Construct a chain of three trees, which don't point to anything else.
This is hard! The `git mktree` command might be useful.

View file

@ -1,3 +0,0 @@
git mktree
TREE=$(echo -e "040000 tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904\tdir" | git mktree)
echo -e "040000 tree $TREE\tdir" | git mktree