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

Expose a proper JavaScript API for TreeEntry's toObject#1272

Merged
maxkorp merged 1 commit intonodegit:masternodegit/nodegit:masterfrom
rcjsuen:toObjectrcjsuen/nodegit:toObjectCopy head branch name to clipboard
Apr 18, 2017
Merged

Expose a proper JavaScript API for TreeEntry's toObject#1272
maxkorp merged 1 commit intonodegit:masternodegit/nodegit:masterfrom
rcjsuen:toObjectrcjsuen/nodegit:toObjectCopy head branch name to clipboard

Conversation

@rcjsuen
Copy link
Member

@rcjsuen rcjsuen commented Apr 13, 2017

Fix #1268 by tweaking the generated code so that it doesn't take a pointer as a parameter.

libgit2's git_tree_entry_to_object(*) function takes a pointer to
return a git_object back to the caller. We should remove this in the
generated code so that the concept of a pointer is not brought over
to the JavaScript API.
@maxkorp maxkorp merged commit 332e86d into nodegit:master Apr 18, 2017
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.