Skip to content

Fix renaming process in folder compare window. #1246

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
Mar 13, 2022

Conversation

tjmprm77
Copy link
Contributor

The comparison result is not displayed correctly when renaming a file (directory) that exists on only one side to a name where the directory (file) with the same name exists.

Example 1. Rename file AAA to BBB when file AAA (left only) and directory BBB (right only) exist.
e1

Example 2. Rename directory BBB to AAA when file AAA (left only) and directory BBB (right only) exist.
e2

This PR fixes this issue by changing to judge that a directory or file exists only if the type (directory or file) of renamed item matches the original diffItem type in the diffItem update process.

… when renaming a file (directory) that exists on only one side to a name where the directory (file) with the same name exists.

- Change to judge that a directory or file exists only if the type (directory or file) of renamed item matches the original diffItem type in the diffItem update process.
@sdottaka sdottaka added this to the v2.16.19 milestone Mar 13, 2022
@sdottaka sdottaka merged commit ce60cad into WinMerge:master Mar 13, 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