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

String `message` argument of `Stash.save` is optional by rcjsuen · Pull Request #1215 · nodegit/nodegit · GitHub

Repository navigation

String message argument of Stash.save is optional - #1215

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

johnhaley81 merged 1 commit into
nodegit:masterfrom
rcjsuen:optional-stash-msg

Conversation

rcjsuen commented Feb 6, 2017

Copy link
Copy Markdown
Member

If you look at libgit2's stash.h file, you will see that the message parameter is actually optional. We should flag the argument as being optional in NodeGit's JSON file as well.

libgit2's git_stash_save function does not actually require the
message to be set. One will be generated if a message is not given so
the parameter should be flagged as being optional in NodeGit as well.

Copy link
Copy Markdown
Collaborator

Thanks @rcjsuen for the great PRs!

johnhaley81 merged commit 37f62ca into nodegit:master Feb 26, 2017
rcjsuen deleted the optional-stash-msg 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