Commit 38c4d6c
wt: display relative paths for all worktrees under repo root
Previously only worktrees under .worktrees/ had their paths
shortened. Worktrees under other subdirectories (e.g.
.claude/worktrees/) showed full absolute paths. Now any worktree
under the repo root displays as a relative path.
Amp-Thread-ID: https://ampcode.com/threads/T-019c86ac-9974-742e-8ceb-83b179d4cde6
Co-authored-by: Amp <amp@ampcode.com>1 parent 2a48327 commit 38c4d6c
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
| 309 | + | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
| 1339 | + | |
1342 | 1340 | | |
| 1341 | + | |
| 1342 | + | |
1343 | 1343 | | |
1344 | 1344 | | |
1345 | 1345 | | |
| |||
1351 | 1351 | | |
1352 | 1352 | | |
1353 | 1353 | | |
1354 | | - | |
1355 | | - | |
1356 | | - | |
| 1354 | + | |
1357 | 1355 | | |
| 1356 | + | |
| 1357 | + | |
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
| |||
0 commit comments