3 ms·
git is for when you want to track changes to part of a file. In your scenario, you just want to track different versions of a file.
by mgaunard 3y ago
git is for when you want to track changes to part of a file.
In your scenario, you just want to track different versions of a file.
- Groxx 3y agoYou can equally say that git is for when you want to track changes. And then it's a failing of git. Besides, what's the difference? It's a file. The contents changed. Git doesn't say anything at all along the lines of "30% or more different means it's not a good fit for git".
- mgaunard 3y agoYou can certainly use git, but then the model used to apply patches from different branches doesn't work for binary blobs. So all the things that git specializes in are actually things you don't want.
- Groxx 3y agoThat seems like an implementation detail that could change tomorrow, at which point it could be perfectly fine to store large blobs in your repository, yea? I completely agree Git is bad at this now, to be clear. I've watched single-file repositories bloat to hundreds of gigabytes due to lots of commits to a single 1MB file. But that doesn't seem like a design problem, just implementation.