Skip to content

fix(mcp): take a changed file's name as it is on posix - #128

Open
moezdil wants to merge 1 commit into
google:mainfrom
moezdil:fix/mcp-rel-literal-names
Open

moezdil wants to merge 1 commit into
google:mainfrom
moezdil:fix/mcp-rel-literal-names

Conversation

@moezdil

@moezdil moezdil commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

i tried this in a container on a linux box. a changed file named pkg\util.py with a backslash in its name was turned into pkg/util.py, and a leading space was dropped, so the scan was pointed at a different existing file and the pull request could pass. on posix a backslash and a space are part of the name, so now they are kept, and backslash is only a separator on windows. added a test, unit and mutation tests and pre-commit pass.

Signed-off-by: mesutoezdil <mesudozdil@gmail.com>

This branch has not been deployed

No deployments
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.

1 participant