Skip to content

feat(patch_set): PatchSet::parse_bytes for raw byte input#66

Merged
bmwill merged 8 commits intobmwill:masterfrom
weihanglo:patchset-bytes
Apr 16, 2026
Merged

feat(patch_set): PatchSet::parse_bytes for raw byte input#66
bmwill merged 8 commits intobmwill:masterfrom
weihanglo:patchset-bytes

Conversation

@weihanglo
Copy link
Copy Markdown
Contributor

Extracted from #64; blocked on #65. Please review from a7aee0c

The entire idea is PatchSet::parse_bytes so that some non-UTF8 hunk that Git doesn't consider as binary patch can still be safely parsed an applied.

With this PR, our history replay test no longer skip any non-UTF8 patches.

Fixes #63

@weihanglo
Copy link
Copy Markdown
Contributor Author

Rebased to resolve the merge conflict!

@bmwill bmwill merged commit 201f5aa into bmwill:master Apr 16, 2026
12 checks passed
@bmwill
Copy link
Copy Markdown
Owner

bmwill commented Apr 16, 2026

Thanks i had just finished a review and was going to do that myself, appreciate it!

@weihanglo weihanglo deleted the patchset-bytes branch April 16, 2026 14:51
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.

PatchSet doesn't support raw bytes

2 participants