Skip to content

Commit 1f13f04

Browse files
committed
Clarify phrasing re: nested Git repositories and checkpointing
1 parent 0669ab4 commit 1f13f04

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/features/checkpoints.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,11 @@ The `.rooignore` file (which controls AI access to files) is separate from check
202202

203203
This separation is intentional, as `.rooignore` limits which files the AI can access, not which files should be tracked for version history.
204204

205-
#### Nested Git Repositories
205+
#### Git Repositories Below the Workspace Root
206206

207-
If nested Git repositories are detected in your workspace, checkpoints are disabled. You'll receive a clear notification when checkpoint initialization fails due to nested repositories. Remove or relocate nested repositories to enable checkpoints.
207+
Checkpoints cannot be enabled if Git repositories exist below the workspace root. If this is detected, checkpoints will be disabled, and you'll receive a clear notification that checkpoint initialization has failed due to this condition. To enable checkpoints, remove or relocate these repositories, or open one of them as your workspace root.
208+
209+
This occurs because the checkpoint service makes use of Git's "worktree" feature, and sets the main worktree directory to the workspace root. In this configuration, any Git repositories in subdirectories will conflict with the main worktree.
208210

209211
### Concurrency Control
210212

0 commit comments

Comments
 (0)