creationix/node-git — pull request #11 by apeace (2012-10-21 19:37:41+00:00)
Title: Fix bug with gitExec

I ran into a problem with this line here: https://github.com/creationix/node-git/blob/master/lib/git-fs.js#L139

It was throwing an error because `gitExec` requires all three arguments. I've fixed that by defaulting to `"utf8"` if no encoding is given

Maybe it's simpler just to add the `"utf8"` parameter to the `getExec` call I linked above, that's up to you. I figured I would share this fix anyway