Commit c056686
committed
Fixes #4869: Fix codebase indexing by correcting hidden directory filtering
The issue was in the isPathInIgnoredDirectory function where the '.*' pattern
was incorrectly matching the current directory '.' in relative paths, causing
ALL files to be ignored during codebase indexing.
Changes:
- Modified isPathInIgnoredDirectory to skip the current directory marker '.'
- Added length check to ensure '.*' pattern only matches directories with actual names
- Updated version to 3.21.0
This resolves the codebase indexing regression introduced in the directory
filtering changes.1 parent 2e2f83b commit c056686
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | | - | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
0 commit comments