Polish levels some more, add a "congrats" text

This commit is contained in:
Sebastian Morr 2020-09-16 16:16:11 +02:00
parent 6292d849b9
commit 5066840ae9
30 changed files with 87 additions and 30 deletions
levels/index-update

View file

@ -2,7 +2,7 @@ Instead of removing an entry from the index and adding one with the same name, y
Put the content you want in a file with a matching name, and then run
$ git update-index <file>
git update-index <file>
This will create a new blob, and update the hash of the entry to that blob.

View file

@ -1 +1,2 @@
test "$(git ls-files | wc -l)" -eq 0
# This is not really a good test for the winning condition...
test "$(git ls-files -s | git hash-object --stdin)" != "10c4b28623e7e44e09f5a596450a50ab7ac31fbe" -a "$(git ls-files | wc -l)" -eq 3