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 |
0 replies
|
Well, I did try The |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.All reactions