FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Tree Entry getBlob() should also support the callback pattern. by jeffwilcox · Pull Request #404 · nodegit/nodegit · GitHub

Repository navigation

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

Closed
jeffwilcox wants to merge 3 commits into
nodegit:masterfrom
jeffwilcox:tree_entry_getBlob_callback
Closed

jeffwilcox wants to merge 3 commits into
nodegit:masterfrom
jeffwilcox:tree_entry_getBlob_callback

Conversation

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

Copy link
Copy Markdown
Contributor Author

Oh the irony, a 404 issue ID...

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Contributor Author

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL