-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Fizzy apply #125
Fizzy apply #125
Conversation
java-diff-utils/src/main/java/com/github/difflib/patch/AbstractDelta.java
Outdated
Show resolved
Hide resolved
Sorry. Fortgot about this patch. I will look into it. |
Could you first resolve the conflicts? Strangely I am not able to resolve it using Github. |
Yes. i'll resolve conflicts and add more documentation about fuzzy patch. |
java-diff-utils/src/main/java/com/github/difflib/patch/AbstractDelta.java
Outdated
Show resolved
Hide resolved
Co-authored-by: cowwoc <cowwoc2020@gmail.com>
The new documentation look good to me. Thank you! |
Merged. Thx for the improvement. Could this something for the Wiki documentation? |
We are using applyFuzzy in Bazel (see bazelbuild/bazel#17897), but it's leading to a problem of applying a clean patch with multiple chunks: kythe/kythe#5864 My debugging shows there is something wrong about calculating the java-diff-utils/java-diff-utils/src/main/java/com/github/difflib/patch/Patch.java Lines 108 to 115 in 281c073
Do I understand correctly that The problematic patch I encountered is:
|
Apply the chunks separately and in reverse order to workaround an issue in applyFuzzy. See java-diff-utils/java-diff-utils#125 (comment) Fixes #17897 (comment) RELNOTES: None PiperOrigin-RevId: 571336806 Change-Id: I8eb6b859d1ce8fb990d9237f728198af34e0d393
Closes #112