this post was submitted on 04 Jul 2025
45 points (100.0% liked)

Programming

21429 readers
392 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 days ago (2 children)

Git was Made for the Linux kernel. The kernel is pretty much only text files. For the complete decentralisation git achieves an easy diffing and merging operations needs to be defined. It is working for what it was made.

Large files don't work with git, as it always stores the whole history on your drive.

For files that are large and not mergeable SVN works better and that is fine. You need constant online connectivity as a trade of though.

Some build tools for software being the option to define a dependency as a git path +commit or a local path. That works quite well but is in the end just a workaround.

[–] [email protected] 2 points 3 days ago

Yes I'm aware where Git came from.

Large files don’t work with git, as it always stores the whole history on your drive.

Not any more. That's only the default. Git supports sparse checkouts and blobless checkouts both of which only get a subset of a repo. And actually it has supported --depth for as long as I remember.

[–] [email protected] 1 points 3 days ago* (last edited 3 days ago)

For files that are large and not mergeable SVN works better and that is fine.

This. I have worked for a large research organization where a single SVN checkout took more than 24 hours. And they knew what they were doing.

BTW jujutsu, being created by an engineer who happens to work at Google, supports alternative backends which are meant for very large repos. But as said, I think that these do not align with the needs of the FOSS community.