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

batdiff: Support filenames with special characters #124

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

HE7086
Copy link
Contributor

@HE7086 HE7086 commented Aug 14, 2024

This PR added -z flag to git and --null flag to xargs.

Currently if (for whatever reason) a file in the repo has special characters in its name, including space, new line, etc., batdiff would malfunction. With filenames being handled in form of NULL-terminated strings, the issue is resolved.

@eth-p
Copy link
Owner

eth-p commented Aug 24, 2024

Great fix, thank you for adding it!

@eth-p eth-p merged commit 0acf65e into eth-p:master Aug 24, 2024
4 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