The Wayback Machine - https://web.archive.org/web/20200916035423/https://github.com/libgit2/pygit2/pull/445
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

Add Repository.merge_commits() #445

merged 2 commits into from Oct 31, 2014

Conversation

@carlosmn
Copy link
Member

carlosmn commented Oct 30, 2014

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

carlosmn commented Oct 30, 2014

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.
@carlosmn carlosmn force-pushed the carlosmn:merge-commits branch from 046f1f8 to bc8b29b Oct 30, 2014
@jdavid jdavid merged commit bc8b29b into libgit2:master Oct 31, 2014
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
Details
@carlosmn carlosmn deleted the carlosmn:merge-commits branch Oct 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.