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

Add Repository.merge_commits() #445

Merged
merged 2 commits into from
Oct 31, 2014
Merged

Conversation

carlosmn
Copy link
Member

This allows you to merge arbitrary commits, returning an index, which is
useful when dealing with bare repos in which we want to merge.


I don't need to use the options in my use-case at the moment, but the structures are there in case anybody does want to add them.

This allows you to merge arbitrary commits, returning an index, which is
useful when dealing with bare repos in which we want to merge.
@carlosmn
Copy link
Member Author

Actually I am going to need some options, so there's a couple more commits coming.

I've gone with taking a string and converting it because the depth of
the namespacing in the libgit2 name is rather large and we don't care
about the global namespace that C has; and this also lets us pass the
same as the '-X' option to git-merge.
@jdavid jdavid merged commit bc8b29b into libgit2:master Oct 31, 2014
@carlosmn carlosmn deleted the merge-commits branch October 31, 2014 09:39
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

Successfully merging this pull request may close these issues.

None yet

2 participants