From 7f2fa3039fd1eac8d981edf6b1ff2883ca4c3c31 Mon Sep 17 00:00:00 2001
From: Pablo Dobry <pablo.dob@gmail.com>
Date: Sat, 8 Feb 2025 11:19:08 -0300
Subject: [PATCH] Fix control in [win] seccion on checkout-commit

---
 levels/branches/checkout-commit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/levels/branches/checkout-commit b/levels/branches/checkout-commit
index 87061d8..fdcb0ca 100644
--- a/levels/branches/checkout-commit
+++ b/levels/branches/checkout-commit
@@ -36,7 +36,7 @@ git branch -df main
 [win]
 
 # Restore sisterly peace.
-{ git show HEAD:piggy_bank | grep "10 coins"; } && { git show HEAD:little_sister | grep -v "10 coins"; } && { git rev-parse HEAD^^^; }
+{ git show HEAD:piggy_bank | grep "10 coins"; } && { test $(git show HEAD:little_sister | wc -l) -eq $(git show HEAD:little_sister | grep -v "10 coins" | wc -l); } && { git rev-parse HEAD^^^; }
 
 [congrats]