Skip to content

Do not show "renamed" for files when comparing two folders #177

Description

Hello!

I use diff command to compare files in two folders (e.x. diff -r "documentation/public" "compare_repo/documentation/public" -u -X - > public.diff || true).
If I generate a report using diff2html-cli for the public.diff result the report will always show that the files has been renamed because their patch is different. But that's OK - their patch will always be different because I am comparing different folders. For more information please refer to the screenshot below:

Image

My suggestion is to add an option to (partialy) ignore patch difference for compared files.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions