sentientwaffle/gift — pull request #33 by daniyalzade (2014-12-25 18:49:05+00:00)
Title: enable specify git binary location along with other options in the const...

Finally got to resolving this issue https://github.com/sentientwaffle/gift/issues/32

In the constructor I am passing in a git_options directory, which can specify the git binary location. Please let me know if you have any questions. Please see below for a sample use.

git = require './src/'
repo = git '/Users/edaniya/git/gift', null, {bin: "/usr/bin/tmp/git"}
repo.commits "master", 1, (err, commits) ->
console.log commits