Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork201
Fizzy apply#125
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Fizzy apply#125
Uh oh!
There was an error while loading.Please reload this page.
Conversation
java-diff-utils/src/main/java/com/github/difflib/patch/AbstractDelta.java OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
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 OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
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? |
meteorcloudy commentedOct 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
We are using applyFuzzy in Bazel (seebazelbuild/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 in281c073
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.Seejava-diff-utils/java-diff-utils#125 (comment)Fixes#17897 (comment)RELNOTES: NonePiperOrigin-RevId: 571336806Change-Id: I8eb6b859d1ce8fb990d9237f728198af34e0d393
Closes#112