Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Committing submodules #730

Closed
csware opened this Issue · 2 comments

2 participants

@csware

For using libigt2 for commits it's really important, that it allows to update the state of submodules.

@arrbee
Owner

PR #852 has support for adding the commit that is the current submodule HEAD to the index so that it can be committed. I know there's a lot in that PR, but can you take a peek and see if it gets at what you need? Also, if it doesn't or if the API doesn't work the way you think it should, please let me know so I can refine it. Thanks!

@arrbee
Owner

So, #852 got merged and contains the git_submodule_add_to_index() API which should let you update the index with the current submodule HEAD (which you can then use to commit the changes). I'm going to close this issue, but feel free to reopen or open a new issue if the API is not doing what you need. Thanks!

@arrbee arrbee closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.