Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Committing submodules #730

Closed
csware opened this issue May 26, 2012 · 2 comments
Closed

Committing submodules #730

csware opened this issue May 26, 2012 · 2 comments

Comments

@csware
Copy link
Contributor

csware commented May 26, 2012

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

@arrbee
Copy link
Member

arrbee commented Aug 3, 2012

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
Copy link
Member

arrbee commented Sep 5, 2012

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 as completed Sep 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants