3 ms·
My only question is: why do they spawn git/hg processes? Why not use http://libgit2.github.com/ http://libgit2.github.com/ (git) and some other library for Merc
by striking 12y ago
My only question is: why do they spawn git/hg processes? Why not use http://libgit2.github.com/ http://libgit2.github.com/ (git) and some other library for Mercurial instead? That way you're not spawning and killing off processes, you just send data from a library
- sqs 12y agoYep, that's one of the improvements we're working on. We made a lib that wraps libgit2 (git2go) and knierem/hgo at https://github.com/sourcegraph/go-vcs https://github.com/sourcegraph/go-vcs that we'll push to our live site soon. Initially we shelled out to git/hg for simplicity.