Skip to content

Support fuzzy and dry-run patch application #55

@jelmer

Description

@jelmer

Currently apply_exact() either applies a patch or fails. It would be useful to have a dry-run mode that reports which hunks would apply and which wouldn't, and a fuzzy application mode that tries to match context lines with some tolerance (like patch --fuzz). This would let consumers check patch applicability without modifying anything.

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