Skip to content

fix(patch) Correctly handle Unicode paths#7123

Merged
arcanis merged 1 commit into
yarnpkg:masterfrom
liuxingbaoyu:patch
May 5, 2026
Merged

fix(patch) Correctly handle Unicode paths#7123
arcanis merged 1 commit into
yarnpkg:masterfrom
liuxingbaoyu:patch

Conversation

@liuxingbaoyu

Copy link
Copy Markdown
Contributor

What's the problem this PR addresses?

https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath
Git enables core.quotePath by default, which escapes Unicode characters in paths, causing Yarn to fail to replace them.
git-for-windows/git#3843

...

How did you fix it?

This PR sets core.quotePath=false when generating the patch to avoid this issue.

...

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 20dd169 into yarnpkg:master May 5, 2026
26 of 27 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.

2 participants