Hacker News new | ask | show | jobs
by tejasmanohar 4121 days ago
If you really want it in Node, it should be refactored to use node bindings to the libgit2 API instead of exec(). Using exec() the way you currently do introduces synchronous code. In reality, this would be much simpler in pure shell w/o the node dependency :)