Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer a libgit2 backend? #85

Open
notatestuser opened this issue Mar 20, 2016 · 0 comments
Open

Offer a libgit2 backend? #85

notatestuser opened this issue Mar 20, 2016 · 0 comments

Comments

@notatestuser
Copy link
Owner

Right now we spawn a child process (git) and run a command, capturing stdout to get the results. A better approach might be to make this project a native binding to libgit2, an implementation of git's core functionality in C.

There are several benefits to this kind of approach:

  • The module's users would not have to install the git binary on their system
  • There's no way to manipulate stuff in memory (do we care?)
  • Calling into native code is probably less expensive than starting a process with each method call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant