3 ms·
You are wrong.. Just start putting files of GBs in size and you will see what happens.
by Borg3 2y ago
You are wrong.. Just start putting files of GBs in size and you will see what happens.
- kreetx 2y agoSo I just added a 2.4GB iso and other than taking longer nothing happened. Push and clone also seem to work.
- Borg3 2y agoRight :) I forgot that everyone is in 64bit systems these days. This change a lot. Anyway, GIT uses single blob for single file content. This is all right, if we speak about source code and text files, as those are not large. Thing changes for arbitrary binary files.
- kreetx 2y agoAFAIK, not much of anything changes (perhaps name some of these changes?). And what is wrong with a single blob? This seems work great for deduplication, if you were using git to manage a photo library and happen to add something twice.
- Borg3 2y agoThere is several issues depending where you run git on. For example mmap() can be problematic on large files in 32bit OS. On Cygwin it gets even worse. As for deduplication, I do not think so. If you have single blob, lets say 1GB and you change just 1B, whole blob changes and no more dedup. If you use basic method of static block size, lets say 512KB, this will work much better. Futher, there are more advanced techniques to handle dedups like roling checksums to carve out even smaller sub-block.
- kreetx 2y agoBut you're always arguing the odd case: - 32 bit systems - cygwin git on Windows instead of native - expecting deduplication on different files (???)
- Borg3 2y agoUh, hold on. Are we trying to discuss objectivily? If not, and you just insist like GIT is best for everything fanboyism, and use it everywhere.. I am not interested. I pointed out that GIT have some rough cases and its good to be aware of them. I said it already and will say it again: choose right tool for the task. If your workflow with GIT works, use it. No need to discourage other solutions. Yes, I use ancient platforms and I want DVFS on them too.
- kreetx 2y agoWell, you said something will happen with git and big files, but it seems not much will happen for the majority of users.