Skip to content

Tree Entry getBlob() should also support the callback pattern.#405

Merged
tbranyen merged 1 commit into
nodegit:masterfrom
jeffwilcox:tree_entry_getBlob_callback
Feb 14, 2015
Merged

Tree Entry getBlob() should also support the callback pattern.#405
tbranyen merged 1 commit into
nodegit:masterfrom
jeffwilcox:tree_entry_getBlob_callback

Conversation

@jeffwilcox
Copy link
Copy Markdown
Contributor

While moving code from the older v0.1.x codebase to the latest, I tried making minimal changes and renames in some functions. A majority of my Node code at this time is not using promises. While calling getBlob(callback) on a tree_entry, nothing happened.

I simply mimicked the format used for getTree in tree_entry to be consistent (although I'm not setting the entry instance on a property like the tree function does).

@jeffwilcox
Copy link
Copy Markdown
Contributor Author

FYI, this is the rebased version of #404. Not sure why I closed the other PR to do this. I need ☕ .

@tbranyen
Copy link
Copy Markdown
Member

Looks good, thanks!

tbranyen added a commit that referenced this pull request Feb 14, 2015
Tree Entry getBlob() should also support the callback pattern.
@tbranyen tbranyen merged commit 8b62cc2 into nodegit:master Feb 14, 2015
@jeffwilcox jeffwilcox deleted the tree_entry_getBlob_callback branch February 14, 2015 18:22
@tbranyen tbranyen modified the milestone: 0.3.0 Mar 2, 2015
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