Sort but given that we're relying on git mostly, what are the advantages of lock files over submodules/subtrees ?
Well, that would lock all of the projects into git. What if some libraries are in git, and others are in mercurial and darcs?
I think it’s better to have a package manager that’s not reliant on a particular source control system.
I may have inferred something that wasn't in the original comment, by reading too many of the other comments on this page.