Skip to content
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

Fix renaming process in folder compare window. #1392

Merged
merged 1 commit into from Jul 3, 2022

Conversation

tjmprm77
Copy link
Contributor

@tjmprm77 tjmprm77 commented Jul 3, 2022

The comparison result is not displayed correctly when renaming a file (directory) that exists on only one side to a name where the file (directory) with the same name exists.
This PR fixes this issue by doing the following:

  • Rescan the renamed item if the side flag changes due to renaming.
  • Delete the item with the same file name as after renaming.

(PR #1246 dealt with cases where a file and a directory have the same name, and this PR deals with cases where two or three files have the same name or two or three directories have the same name.)

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

- Rescan the renamed item if the side flag changes due to renaming.
- Delete the item with the same file name as after renaming.
@sdottaka sdottaka merged commit aa2e85a into WinMerge:master Jul 3, 2022
@sdottaka
Copy link
Member

sdottaka commented Jul 3, 2022

Thank you!

@sdottaka sdottaka added this to the v2.16.22 milestone Jul 3, 2022
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.

None yet

2 participants