Benjamin Carlsson
a2a9a43476
List managed worktrees for a repository ( #42366 )
...
## What changed
- Add `WorktreeManager::list` to return managed linked worktrees associated
with the repository containing a requested working directory.
- Preserve the requested repository-relative working directory in each result
and sort results by worktree root.
- Exclude primary and unrelated checkouts, paths outside the managed layout,
unsafe working directories, aliases, and stale or mismatched Git
registrations.
## Testing
Add coverage for repository filtering, native paths, nested working
directories, stale registrations, aliases, and layout validation.
GitOrigin-RevId: 385133914bd601e6c72858166853a1d42f7722ee
2026-09-02 21:23:34 +00:00
..
2026-08-24 22:40:35 +00:00
2026-09-02 17:27:50 +00:00
2026-09-02 21:20:03 +00:00
2026-09-02 04:20:38 +00:00
2026-09-02 17:52:16 +00:00
2026-09-02 21:01:04 +00:00
2026-08-25 03:08:33 +00:00
2026-09-02 21:20:03 +00:00
2026-08-31 13:44:12 +00:00
2026-08-31 13:44:12 +00:00
2026-08-24 21:39:48 +00:00
2026-09-02 21:01:04 +00:00
2026-09-02 18:34:27 +00:00
2026-09-02 20:07:11 +00:00
2026-08-28 19:44:50 +00:00
2026-08-28 19:44:50 +00:00
2026-08-29 02:52:58 +00:00
2026-09-01 17:17:45 +00:00
2026-09-01 01:00:50 +00:00
2026-09-01 01:00:50 +00:00
2026-09-01 05:17:11 +00:00
2026-08-25 21:20:51 +00:00
2026-09-01 20:26:57 +00:00
2026-08-29 02:46:06 +00:00
2026-09-02 18:18:54 +00:00
2026-08-31 21:27:51 +00:00
2026-09-02 01:06:18 +00:00
2026-08-23 18:53:15 +00:00
2026-09-02 20:41:14 +00:00
2026-08-25 21:20:51 +00:00
2026-09-02 18:34:27 +00:00
2026-09-02 02:09:35 +00:00
2026-09-02 16:40:09 +00:00
2026-09-02 12:07:32 +00:00
2026-09-02 18:52:44 +00:00
2026-09-02 15:07:11 +00:00
2026-09-02 20:30:45 +00:00
2026-09-01 16:49:16 +00:00
2026-08-27 20:44:47 +00:00
2026-09-02 03:46:24 +00:00
2026-09-02 18:52:44 +00:00
2026-09-02 18:52:44 +00:00
2026-09-01 18:02:27 +00:00
2026-09-01 15:12:53 +00:00
2026-08-26 23:41:18 +00:00
2026-08-25 21:08:22 +00:00
2026-08-28 01:14:02 +00:00
2026-09-02 15:07:11 +00:00
2026-08-28 01:14:02 +00:00
2026-08-26 14:36:48 +00:00
2026-08-31 22:08:44 +00:00
2026-08-25 18:41:03 +00:00
2026-09-02 18:52:44 +00:00
2026-09-01 17:17:45 +00:00
2026-09-01 18:02:27 +00:00
2026-08-25 15:50:19 +00:00
2026-09-02 18:52:44 +00:00
2026-08-31 19:44:44 +00:00
2026-08-26 17:45:42 +00:00
2026-08-21 16:45:05 +00:00
2026-09-02 03:24:43 +00:00
2026-09-02 18:52:44 +00:00
2026-08-28 01:14:02 +00:00
2026-09-01 22:08:08 +00:00
2026-09-01 18:24:56 +00:00
2026-09-01 17:47:29 +00:00
2026-09-02 15:07:11 +00:00
2026-09-02 18:34:27 +00:00
2026-09-02 18:18:54 +00:00
2026-09-02 15:46:33 +00:00
2026-09-02 02:09:35 +00:00
2026-09-02 21:01:04 +00:00
2026-09-02 18:42:06 +00:00
2026-09-02 18:52:44 +00:00
2026-09-02 19:13:32 +00:00
2026-09-02 20:27:05 +00:00
2026-09-02 20:30:45 +00:00
2026-09-02 21:23:34 +00:00
2026-09-02 20:07:11 +00:00
2026-09-02 19:49:58 +00:00
2026-09-01 16:40:05 +00:00