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

if i compare 2 folders of symlinks, will Delete-Left affect the linked files? #1976

Closed
blank-teer opened this issue Aug 8, 2023 · 7 comments
Labels
Milestone

Comments

@blank-teer
Copy link

No description provided.

@sdottaka
Copy link
Member

sdottaka commented Aug 9, 2023

If it is a symbolic link created with the mklink /d command, deleting the symbolic link should not affect the original folder. However, if files within the symbolic link are deleted, the original files will also be deleted.

@blank-teer
Copy link
Author

okay, thanks. but is it possible to make winmerge delete the original file alongside its symbolic link when symbolic links are compared?

@blank-teer
Copy link
Author

@sdottaka

@sdottaka
Copy link
Member

sdottaka commented Aug 9, 2023

Unfortunately WinMerge doesn't have such a feature.

@blank-teer
Copy link
Author

blank-teer commented Aug 10, 2023

okay, but can you at least add the symlinks following in order to consider symlinks the same as their target files?

for now, if chosen compare method is Binary Contents (i just don't have hours to compare large file sets with Full Contents) and i compare file A with symlink A (targets to file A), winmerge says they are different files, but double-clicking shows a popup that says that compared files are identical :\

@blank-teer
Copy link
Author

@sdottaka

sdottaka added a commit that referenced this issue Aug 11, 2023
…ethod, the contents of the files are identical, but if one side is a symbolic link, it is judged to be different. refs #1976
@sdottaka
Copy link
Member

for now, if chosen compare method is Binary Contents (i just don't have hours to compare large file sets with Full Contents) and i compare file A with symlink A (targets to file A), winmerge says they are different files, but double-clicking shows a popup that says that compared files are identical :\

Fixed in commit dfcaf93

@sdottaka sdottaka added this to the v2.16.33 milestone Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants