diff --git a/crates/agent_ui/src/thread_metadata_store.rs b/crates/agent_ui/src/thread_metadata_store.rs index cbc5c2ae51799955bca96efb75403eb7c4ee77ca..9add4ea97724f48be247fc0ba96f2545f9a0ed3f 100644 --- a/crates/agent_ui/src/thread_metadata_store.rs +++ b/crates/agent_ui/src/thread_metadata_store.rs @@ -157,7 +157,7 @@ pub struct ArchivedGitWorktree { pub worktree_path: PathBuf, /// Absolute path of the main repository ("main worktree") that owned this worktree. /// Used when restoring, to reattach the recreated worktree to the correct main worktree. - /// (If that dir is missing, use worktree_path as the new main worktree.) + /// If the main repo isn't found in any open workspace, restoration fails. pub main_repo_path: PathBuf, /// Branch that was checked out in the worktree at archive time. `None` if /// the worktree was in detached HEAD state, which isn't supported in Zed, but