You can run Git on object storage if you re-make packfiles

41 points - last Wednesday at 5:16 PM

Source

Comments

0bytes today at 7:04 AM
4th submission in 3 days. Is this a marketing spam campaign?
mgrandl today at 6:10 AM
Sweet. It’s kinda wild to me that this hasn’t been done. Would be so much nicer if gitlab/forgejo/gitea/… supported object storage for everything. Currently you always still need a filesystem for git repos.
mmastrac today at 5:37 AM
Nice. I saw some git-on-durable-objects projects but I'd so much prefer a straight object storage option.
jiggawatts today at 6:34 AM
Next: replace whole-file hashes with a Merkle Patricia tree hash and enable BitTorrent-like distribution protocols on top, not to mention the deduplication advantages!
hanwenn today at 6:56 AM
"Finally delta objects should be stored as their own object in the packfile instead of slapped onto the end of the object it’s a delta of so that you don’t have to read the object and its deltas to read the object in the first place."

Author thinks that delta encoding is there for no reason. Good luck, kid.

uptownhr today at 8:03 AM
I created my own as well and powers agentgit.co