this post was submitted on 03 Jul 2026
151 points (100.0% liked)

Opensource

6387 readers
273 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SinTan1729@programming.dev 10 points 1 week ago* (last edited 1 week ago)

As far as I understand, it doesn't keep copies of the different edits. The original file is saved, and the edits are serialized and stored in some form. Only one more copy is generated for the final version for preview and such. When editing again, you can add to or subtract from previous edits, and again a maximum of two files will be present. (But there would be no thumbnail, preview etc. for the original. So it isn't exactly double the storage usage.)

This is my vague recollection from what I've read in the discussions, so take it with a grain of salt. But this is close to what's happening when you're editing.