Skip to content

Apply fuzzy matching to same-repo URLs that point to missing files#17

Merged
dvdstelt merged 4 commits intomainfrom
fix/same-repo-fuzzy-match
Mar 11, 2026
Merged

Apply fuzzy matching to same-repo URLs that point to missing files#17
dvdstelt merged 4 commits intomainfrom
fix/same-repo-fuzzy-match

Conversation

@dvdstelt
Copy link
Owner

When a same-repo GitHub URL referenced a non-existent file path, suggestLocalPath returned the raw extracted path without searching for a close match. Now it uses the same exact-filename and fuzzy-stem logic as checkInternal, suggesting the corrected local path.

When a same-repo GitHub URL referenced a non-existent file path,
suggestLocalPath returned the raw extracted path without searching for
a close match. Now it uses the same exact-filename and fuzzy-stem
logic as checkInternal, suggesting the corrected local path.
@dvdstelt dvdstelt changed the title 🐛 Apply fuzzy matching to same-repo URLs that point to missing files Apply fuzzy matching to same-repo URLs that point to missing files Mar 11, 2026
Covers the case where a same-repo GitHub URL has a typo in the file
path (e.g. configuraton.md) and should fuzzy-match to the real file.
The expected output had CRLF line endings, but the test runner on
Linux produces LF. Convert to LF so diff passes on all platforms.
Prevents CRLF/LF mismatches across platforms. PowerShell scripts
are kept as CRLF for Windows compatibility.
@dvdstelt dvdstelt self-assigned this Mar 11, 2026
@dvdstelt dvdstelt added the bug Something isn't working label Mar 11, 2026
@dvdstelt dvdstelt merged commit db441b7 into main Mar 11, 2026
3 checks passed
@dvdstelt dvdstelt deleted the fix/same-repo-fuzzy-match branch March 11, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant