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

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

Closed
jeffwilcox wants to merge 3 commits intonodegit:masternodegit/nodegit:masterfrom
jeffwilcox:tree_entry_getBlob_callbackCopy head branch name to clipboard
Closed

Tree Entry getBlob() should also support the callback pattern.#404
jeffwilcox wants to merge 3 commits intonodegit:masternodegit/nodegit:masterfrom
jeffwilcox:tree_entry_getBlob_callbackCopy head branch name to clipboard

Conversation

@jeffwilcox
Copy link
Contributor

Hi,
As this is my first contribution to this project, let me know what I can change, i.e. should I merge to a new branch name or is a direct-to-master preferred. (Contributing.MD didn't have a ton of info on the logistics of moving changes around)

Change Background

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).

Tests

All mocha tests passing related to this change. However...

  • Clone."can clone with ssh" is a failing test, both before and after the change, on Windows 8.1 x64 with Node v0.12.0.

@jeffwilcox
Copy link
Contributor Author

Oh the irony, a 404 issue ID...

@tbranyen
Copy link
Member

Looks good to me, what do you mean typo @johnhaley81 ?

@johnhaley81
Copy link
Collaborator

@jeffwilcox fyi that test will fail unless you're running an ssh agent and git's configured to use it.

@jeffwilcox
Copy link
Contributor Author

I found the typo... a missing space in a test name. Fixing!

@jeffwilcox
Copy link
Contributor Author

Closing pull for now, will squash and create a new pr.

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.

3 participants

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