Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

Increasing the 'Fuzzyness' when matching diffs #3

Description

@djl197

When using 'patch' it is possible to increase the fuzzyness. This increases the context range to match hunks (cli flag -F n).
Currently I have an issue where I would like to make diff4j use a wider range when trying to apply patches (I am automating patch application and sometimes the patch does not apply but when using patch with an increased 'fuzzyness' it does.).

Is there any way to set this in diff4j? Or can you point me to where I might 'tweak' the code to increase the range when trying to apply hunks?

Many thanks
Dan

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions