On 12/05/2022 21:01, Вадим Цветков wrote:
Hello, I've started a small project which involves several git repositories, which depends on each other. For dealing with these repos I wanted to use git submodules as a simple package manager. However, it seems impossible to lock a submodule to particular ref, only to a branch. I would like to ask if this is deliberate design choice?
This may be a confusion about how some large projects use sub-modules and are now able to follow the developments within a sub-module branch.
The original sub-module mechanism is still available where the sub-module is locked at a specific commit object id's hash i.e. a specific 'library' version of that sub-module (in that context assumed to be rarely changing).
And if it's not, may I contribute this feature?
-- Philip