Simplify the win condition for the remotes/problems level

Basically, the level now accepts every compromise, and just looks at the
shape of the commit graph.

Closes #87.
This commit is contained in:
blinry 2021-04-12 16:23:10 +02:00
parent ffadebb0df
commit e8b8583f49

View file

@ -30,4 +30,4 @@ test "$(git status -s)" = ""
[win friend]
# Look at your friend's suggestion, make a compromise, and push it back.
git show main:file | grep green && git show main:file | grep blue || git show main:file | grep turquoise
git rev-parse main^ && test "$(git rev-parse main^1^)" = "$(git rev-parse main^2^)"