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

Avoid multiple files that are exactly the same. #156

Open
tomazcunha opened this issue Jul 12, 2023 · 3 comments
Open

Avoid multiple files that are exactly the same. #156

tomazcunha opened this issue Jul 12, 2023 · 3 comments

Comments

@tomazcunha
Copy link

Every time I save the file it generates a new history, even if the file is exactly the same as the previous one. I would like an option to keep only the most recent file and delete the previous one which is exactly the same. To avoid multiple files exactly the same. Thanks for the extension.

@Oswald522
Copy link

I strongly agree with this feature. The number of identical files saved each time is too high. There are so many of them that I can't even find the specific files that were modified.

@Bonnev
Copy link

Bonnev commented Nov 26, 2023

Duplicate of #143

@vanowm
Copy link

vanowm commented May 26, 2024

I don't think deleting previous identical backup file is a good idea. I think it's better not create new backup file at all if previous backup file is identical.

However, if we limit this to create backup file only if content was modified before that content was saved to the original file, wouldn't this create an issue when file was modified by git?
I think since git could overwrite the file; we won't have copy of current content before it was overwritten by git.

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

No branches or pull requests

4 participants