mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-24 20:33:19 +01:00
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:
parent
ffadebb0df
commit
e8b8583f49
1 changed files with 1 additions and 1 deletions
|
@ -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^)"
|
||||
|
|
Loading…
Reference in a new issue