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 support for creating merge commits to Git::PurePerl::Object::Commit #10

Merged
merged 1 commit into from
Sep 19, 2016

Conversation

book
Copy link

@book book commented Sep 18, 2016

Git::PurePerl::Object::Commit 'parent' was a simple Str, and content
was built with a single 'parent' line. This meant it was impossible
to create merge commits (commits with multiple parents).

This patch changes the 'isa' constraint for 'parent', making it
possible to pass a reference to an array of parents.

_build_content is modified to behave correctly for all value types.

Git::PurePerl::Object::Commit 'parent' was a simple Str, and content
was built with a single 'parent' line. This meant it was impossible
to create merge commits (commits with multiple parents).

This patch changes the 'isa' constraint for 'parent', making it
possible to pass a reference to an array of parents.

_build_content is modified to behave correctly for all value types.
@broquaint broquaint merged commit a87bf81 into broquaint:master Sep 19, 2016
@broquaint
Copy link
Owner

Thanks for this, BooK! I'll try to get a release out in the next day or two.

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.

2 participants