Skip to content

Change the file naming method of the file compare report to avoid duplication of the file compare report file name linked from the folder compare report. #1171

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

Merged
merged 1 commit into from
Jan 30, 2022

Conversation

tjmprm77
Copy link
Contributor

In rare cases, the file names in the file comparison report linked from the folder comparison report may be duplicated.
It is because "\" in the file path of the comparison item is replaced with "_".

For example, if the folder to be compared contains "AAA\BBB.txt" and "AAA_BBB.txt", the filenames of the two file compare reports are both "AAA_BBB.txt.html".
At this time, the report file of "AAA\BBB.txt" is overwritten by the report of "AAA_BBB.txt" generated later.
As a result, the report "AAA_BBB.txt" is displayed regardless of whether we click "AAA\BBB.txt" or "AAA_BBB.txt" in the folder compare report.

This PR modifies to add the row number of the folder compare report to the head of the file name in the file compare report.
This change makes the file names of the file compare reports unique and avoids duplication.

…lication of the file compare report file name linked from the folder compare report.

- Add the row number in the folder comparison report to the head of the file name in the file comparison report.
@sdottaka sdottaka merged commit 11b96d4 into WinMerge:master Jan 30, 2022
@sdottaka
Copy link
Member

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants