Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

String message argument of Stash.save is optional#1215

Merged
johnhaley81 merged 1 commit intonodegit:masternodegit/nodegit:masterfrom
rcjsuen:optional-stash-msgrcjsuen/nodegit:optional-stash-msgCopy head branch name to clipboard
Feb 26, 2017
Merged

String message argument of Stash.save is optional#1215
johnhaley81 merged 1 commit intonodegit:masternodegit/nodegit:masterfrom
rcjsuen:optional-stash-msgrcjsuen/nodegit:optional-stash-msgCopy head branch name to clipboard

Conversation

@rcjsuen
Copy link
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
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.