Run loop-claude from the checkout root wherever inside it is started #37

Merged
lilleman merged 7 commits from checkout-root into main 2026-09-25 08:50:18 +02:00
Showing only changes of commit 41aff3b568 - Show all commits
+1 -1
View File
@@ -91,7 +91,7 @@ class CheckoutRoot(unittest.TestCase):
root = os.getcwd()
with self.assertRaises(SystemExit) as stopped:
loop.checkout_root()
self.assertIn("not a git repository", stopped.exception.code)
self.assertTrue(stopped.exception.code)
subprocess.run(["git", "init", "-q"], check=True)
os.makedirs("a/b")
with contextlib.chdir("a/b"):