Skip to content

rediff removes comments from patch files #48

@koutheir

Description

@koutheir

When using rediff <ORIGINAL> <EDITED> to correct a manually modified patch file, comment lines present in the edited patch are removed from the output patch, which makes the difference between the edited patch and the output patch far more than necessary.

It looks like only comments starting the edited patch file are kept. Comments in the middle of the patch file are removed.

The only workaround I found, for the moment, is to manually modify the output patch to add the comments back, but that's tedious and error-prone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions