Comment on LPT Do it.
MacNCheezus@lemmy.today 5 months agowhat’s the problem?
It’s basically just keeping a bunch of separate files but with extra steps.
Comment on LPT Do it.
MacNCheezus@lemmy.today 5 months agowhat’s the problem?
It’s basically just keeping a bunch of separate files but with extra steps.
JackbyDev@programming.dev 5 months ago
I would genuinely rather use git in such a scenario than not because there are plenty of other useful features over a bunch of files in a folder. Sure, obviously if the file is massive it is inconvenient, but that’s not a fair comparison because we’re comparing multiple copies “FINAL FINAL FOR REAL” in a folder anyways. There isn’t suddenly less size that way. It seems incredibly silly to describe it as “keeping files with extra steps” because people aren’t using git for space saving, they’re using it for version tracking. Everything git does is “keeping files with extra steps.”
MacNCheezus@lemmy.today 5 months ago
Not quite, because text files are stored as incremental diffs, which not only saves massive amounts of space but allows for effective comparisons of what exactly has changed between versions. While the former is more of a nice bonus these days with storage being extremely cheap, the latter is in fact the main reason one would use git to begin with.
uis@lemm.ee 5 months ago
Binary files too can be stored as incremental diffs
MacNCheezus@lemmy.today 5 months ago
Yes but without the ability to quickly see what’s changed between different versions (on a semantic level), all it will do for you is safe you some storage.
With a bunch of separate files, you can at least open two of them quickly and do a manual scan, but with git you can only ever have one version checked out at the same time, so now you’ll be checking out an older version, making a temporary copy of that, and then checking out the version you want to compare it to and STILL end up doing just that.
From a workflow perspective, it’s really just extra overhead, with little to no practical benefit.
JackbyDev@programming.dev 5 months ago
I don’t want to engage in this conversation if you’re going to ignore everything else I said about how binary files since that what were talking about.
MacNCheezus@lemmy.today 5 months ago
Sorry, I just woke up and clearly didn’t parse your entire comment correctly. Should have had my coffee first.