Skip to content

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

String message argument of Stash.save is optional#1215
johnhaley81 merged 1 commit into
nodegit:masterfrom
rcjsuen:optional-stash-msg

Conversation

@rcjsuen
Copy link
Copy Markdown
Member

@rcjsuen rcjsuen commented Feb 6, 2017

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.
@johnhaley81
Copy link
Copy Markdown
Collaborator

Thanks @rcjsuen for the great PRs!

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