Replies: 2 comments
-
|
In the docs for submodules there is suggestions for how the API is intended. Generally, these are very buggy and I wouldn't use them for more than discovery. Further, the index API is superficial at best and again I don't recommend to use it especially when handling submodules. Instead, prefer |
Beta Was this translation helpful? Give feedback.
-
|
Well, I did try The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Updating the submodule references in a supermodule's tree.
(A) an explicit "mode" is required. Given that anything that's not 0o160000 is very likely to break the index file this doesn't make much sense.
(B) There really should be a method that returns a new
Submoduleobject, either using an explicitbinshaor defaulting to the submodule's current HEAD, instead of forcing the user to create one from scratch.Beta Was this translation helpful? Give feedback.
All reactions