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

Creation of .bak files fails when the original filename starts with a dot #2217

Closed
exoosh opened this issue Feb 15, 2024 · 2 comments
Closed
Milestone

Comments

@exoosh
Copy link

exoosh commented Feb 15, 2024

When making changes to a file from within WinMerge it will create a backup file based on the original filename and then .bak appended. This is usually a silent process.

Today I first ran into an issue with a file name that starts with a . where this scheme fails.

image

Since images cannot be searched as easily: the message says that the backup could not be created and mentions "C:\Users\oschneider\.bashrc (-> C:\Users\oschneider.bashrc.bak)". Note the missing \.

sdottaka added a commit that referenced this issue Feb 15, 2024
@sdottaka sdottaka added this to the v2.16.39 milestone Feb 15, 2024
@sdottaka
Copy link
Member

This issue was fixed with commit efac7e6.
Thank you for your report.

@exoosh
Copy link
Author

exoosh commented Feb 15, 2024

Whoa, that was fast. Thank you!

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

No branches or pull requests

2 participants