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

Refactor classes by maxkorp · Pull Request #250 · nodegit/nodegit · GitHub

Repository navigation

Refactor classes - #250

Merged
tbranyen merged 8 commits into
masterfrom
refactor-classes
Oct 23, 2014
Merged

tbranyen merged 8 commits into
masterfrom
refactor-classes

Conversation

maxkorp commented Oct 23, 2014

Copy link
Copy Markdown
Collaborator

This changes the way memory is handled (so that only root level objects free themselves, all lower level objects expect to be freed by their parents because libgit 2 is weird). Also changes many methods like createCommit to create.
Added a test to revwalk to make sure there is no segfault, but wont run on travis/appveyor because it requires a node argument. Might be worth moving out anyways, as its not really a revwalk test, that was just the mechanism that originally broke it.

maxkorp commented Oct 23, 2014

Copy link
Copy Markdown
Collaborator Author

Added script: npm --expose-gc test to travis.yml, so it can at least run the gc test on travis.

Copy link
Copy Markdown
Member

Thanks for this!

tbranyen added a commit that referenced this pull request Oct 23, 2014
tbranyen merged commit 4113536 into master Oct 23, 2014
tbranyen deleted the refactor-classes branch October 23, 2014 21:10

Copy link
Copy Markdown
Collaborator

This fixes #240.

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