Skip to content

Oscar - #169

Open
johnno1962 wants to merge 2 commits into
mainfrom
oscar
Open

Oscar#169
johnno1962 wants to merge 2 commits into
mainfrom
oscar

Conversation

@johnno1962

Copy link
Copy Markdown
Owner

No description provided.

@johnno1962

Copy link
Copy Markdown
Owner Author

Testing held up by not being able to build InjectionNext with Xcode 27.

@6639835 6639835 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P2] Preserve literal filenames when parsing git check-ignore output

The pinned InjectionLite update invokes git check-ignore --stdin and collects output as literal lines in GitIgnoreParser.swift:266–272, then compares them against original paths at line 224. Git quotes filenames containing non-ASCII bytes, tabs, or quotes; an ignored 日本.swift produces a quoted path with octal escapes and fails ignoredFiles.contains(file). It is then cached as not ignored, allowing ignored source files into monitoring. A local reproduction with *.swift in .gitignore returned Git status 0 but an emitted path unequal to the submitted path. Please use NUL-delimited input/output (-z) with appropriate parsing and add a Unicode/special-character filename regression.

Reviewed the parent diff at e7ae0a5 and its substantive submodule update. Static code review with the Git reproduction; the Swift suite was not run.

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.

2 participants