Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
this-username-has-been-taken opened this issue Apr 30, 2025 · 0 comments

Comments

@this-username-has-been-taken
Copy link

this-username-has-been-taken commented Apr 30, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant