[Feature Request] Local Git repo for project save files
Hi there.
This is not a fully fledged idea yet, but hear me out on this one.
I find myself really wishing to be able to go back to a previous version of a saved file that I have overwritten.
If Kdenlive (optionally) initialized a git repo in the project folder, and automatically added the project save file to the repo, the git repo could be used to track changes, and go back to previous versions of the saved file, as every time the project is saved there will be a new version of it in the git repo.
If you do save as, the new saved file should of course also be added to the repo, and updated whenever a change to the file is made. Think of these as branches.
Another way to think of this functionality is like an infinite undo that is able to survive system crashes, etc.
To further extend the functionality kdenlive can also do automatic saves every few minutes...
Further down the line we could have a UI that you can use to "restore" a saved file if you manage to corrupt the project file that you are busy with, but for now we can use standard git tools to get to the version of the save file that we want.
This sort of disk-backed repo would protect against bugs, user mistakes and quite a few things I can not think of yet.