When the "Repos directory" setting is changed (e.
未关闭
Bugs
Feedback
os:macos
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 153
- PR 合并指标
- 30 天内没有已合并 PR
描述
When the "Repos directory" setting is changed (e.g. from ~/.copilot/repos to ~/repos), existing projects retain their original main_repo_path in the projects table and root_resource_uri in the project_checkouts table. This causes worktree creation to fail for those projects because the app tries to run git worktree add from a main checkout path that no longer exists.
---
| Field | Value |
| --- | --- |
| App version | 1.0.21 |
| OS | macOS 26.5.2 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 4 (Week 1) |
贡献指南
调研方向
从 /chat 设置流程开始,跟踪更改 Repos 目录如何影响 projects 表和 project_checkouts 表。检查这些存储的路径在创建 git worktree 时是如何使用的;完成的标准是现有项目使用新的有效 checkout 位置,并且设置更改后 worktree 创建成功。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- git
- 领域
- databases, desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100