FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

`RevertOptions` parameter in `Revert.revert` is actually optional by rcjsuen · Pull Request #1213 · nodegit/nodegit · GitHub

Repository navigation

RevertOptions parameter in Revert.revert is actually optional - #1213

Merged
johnhaley81 merged 1 commit into
nodegit:masterfrom
rcjsuen:optional-revops
Feb 26, 2017
Merged

johnhaley81 merged 1 commit into
nodegit:masterfrom
rcjsuen:optional-revops

Conversation

rcjsuen commented Feb 4, 2017

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Collaborator

Awesome! Thanks again @rcjsuen :)

johnhaley81 merged commit 027173f into nodegit:master Feb 26, 2017
rcjsuen deleted the optional-revops branch February 26, 2017 07:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL