This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit db06fc1
committed
fix: use relative paths in isPathInIgnoredDirectory to fix worktree indexing
Files in worktrees at ~/.roo/worktrees/ were not being indexed because
isPathInIgnoredDirectory() was checking absolute paths, causing parent
directories like .roo to trigger the '.*' ignore pattern.
Changed scanner.ts and file-watcher.ts to pass relative paths instead,
so only directories within the workspace are checked for ignore patterns.1 parent dc5e765 commit db06fc1
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
511 | 514 | | |
512 | | - | |
| 515 | + | |
| 516 | + | |
513 | 517 | | |
514 | 518 | | |
515 | 519 | | |
| |||
518 | 522 | | |
519 | 523 | | |
520 | 524 | | |
521 | | - | |
522 | 525 | | |
523 | 526 | | |
524 | 527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
0 commit comments