Skip to content

fix(gitplumb): dequote diff paths so non-ASCII/spaced filenames score - #16

Merged
sagenschneider merged 2 commits into
officefloor:mainfrom
alborworld:fix/dequote-paths
Sep 17, 2026
Merged

sagenschneider merged 2 commits into
officefloor:mainfrom
alborworld:fix/dequote-paths

Conversation

@alborworld

Copy link
Copy Markdown
Contributor

Fixes #10

Adds _dequote_path() to reverse git's C-style diff path quoting (the default core.quotePath=true) and applies it — plus stripping the trailing-tab sentinel git adds for unquoted spaced paths — to the rename/copy/---/+++ branches in parse_diff().

Full suite has 10 pre-existing failures on a clean checkout of main (unrelated to this change — verified identical failures with the fix reverted, in this sandboxed test environment); no new failures introduced.

@sagenschneider
sagenschneider merged commit efd88a0 into officefloor:main Sep 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-ASCII and spaced filenames are silently dropped from scoring

2 participants