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 dafault value and parsing unified diff #2

Merged
merged 2 commits into from
Dec 22, 2024

Conversation

thefool0000
Copy link
Contributor

  • 依照 GNU Patch 修改 applyapply_change 的默认值
  • 兼容 unified diff 的解析

reference: https://www.gnu.org/software/diffutils/manual/html_node/Inexact.html

Signed-off-by: thefool0 <74161809+thefool0000@users.noreply.github.com>
Signed-off-by: thefool0 <74161809+thefool0000@users.noreply.github.com>
@jingfelix jingfelix requested a review from Copilot December 22, 2024 13:15

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

@jingfelix
Copy link
Owner

LGTM!

@jingfelix
Copy link
Owner

Now we need tests against unified diff...

@jingfelix jingfelix merged commit dfabc0e into jingfelix:main Dec 22, 2024
1 check 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