Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: non-ascii paths in git walker #488

Merged
merged 1 commit into from
Nov 24, 2024
Merged

fix: non-ascii paths in git walker #488

merged 1 commit into from
Nov 24, 2024

Conversation

brianmcgee
Copy link
Member

git ls-files was providing some "..." quoted paths when it encountered emojis in the file/dir name.

Running them through strconv.Unquote fixes things.

Fixes #485

Signed-off-by: Brian McGee [email protected]

`git ls-files` was providing some `"..."` quoted paths when it encountered emojis in the file/dir name.

Running them through `strconv.Unquote` fixes things.

Fixes #485

Signed-off-by: Brian McGee <[email protected]>
@brianmcgee brianmcgee requested review from zimbatm and jfly November 23, 2024 14:54
@brianmcgee brianmcgee merged commit 4264928 into main Nov 24, 2024
33 checks passed
@brianmcgee brianmcgee deleted the fix/non-ascii-paths branch November 24, 2024 11:26
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.

treefmt2 doesn't properly deal with non ascii paths (?)
2 participants