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

@djl197

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

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