Skip to content

Feature Request: Flag to ignore whitespace changes #921

@SPFabGerman

Description

@SPFabGerman

Currently whitespace changes are highlighted when diffing two text files (or when difft falls back to text files). Would it be possible to add a flag like --ignore-whitespace-changes that ignores all changes in whitespace, including adding or deleting empty lines? (Similar to the --ignore-space-change and --ignore-blank-lines flags from the normal diff tool.) This would allow to at least remove some irrelevant changes from the output, if the user so wishes.

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