top | item 44900619

(no title)

mac-monet | 6 months ago

Just waiting for Jujutsu to support submodules and I can replace git completely.

discuss

order

IshKebab|6 months ago

I really hope they don't add submodule support. There's an opportunity to do something that works properly!

nrclark|6 months ago

I feel like submodules are one of Git's most misused features. They're intended as a method of pinning read-only upstream Git dependencies. And when used for that purpose, they're good at what they do.

I think that people mostly get a bad taste in their mouths because they try to use submodules for building multi-repo workspaces where a developer might need to commit in some/all of the repos. They're a bad fit for that problem, but it's mostly because that's not what they were designed to do.

I'd love to see the jj team tackle case #2, personally. I bet they'd do a pretty good job of it.

ephimetheus|6 months ago

I appreciate the opinion, but that precludes it from being used in repos that are not jj-first and happen to use submodules.

mac-monet|6 months ago

For clarity, I actually hate submodules and badly they're implemented. But its what I have to work with!