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

Fix git reference create oid signature bug #12

Merged
merged 2 commits into from
Aug 2, 2011
Merged

Fix git reference create oid signature bug #12

merged 2 commits into from
Aug 2, 2011

Conversation

asgrim
Copy link
Contributor

@asgrim asgrim commented Aug 2, 2011

For issue #11
Based on libgit2 0.14.0

I made the force argument optional and also a zend_bool, if it is not provided it will default to 0 and therefore throw an exception as is the current behaviour.

So an example use might be:

$manager->create("refs/heads/new-branch", $master->getId(), true);

It is not necessary to specify the last argument if you do not want to force.

chobie added a commit that referenced this pull request Aug 2, 2011
…ture-bug

Fix git reference create oid signature bug
@chobie chobie merged commit 5389594 into libgit2:develop Aug 2, 2011
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