Skip to content

Conversation

@rcjsuen
Copy link
Member

@rcjsuen rcjsuen commented Feb 4, 2017

libgit2's git_revert function does not actually require the revert options to be specified. It is merely a documentation oversight on their website. We should flag the given_opts argument as being isOptional so that null can be passed into the JavaScript function.

libgit2's git_revert function does not require the revert options to
be specified so the same should apply to the NodeGit API.
@johnhaley81
Copy link
Collaborator

Awesome! Thanks again @rcjsuen :)

@johnhaley81 johnhaley81 merged commit 027173f into nodegit:master Feb 26, 2017
@rcjsuen rcjsuen deleted the optional-revops branch February 26, 2017 07:20
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