gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

OSX - Error when git is not in the expected path #30

Closed pcambra closed 11 years ago

pcambra commented 11 years ago

Getting this error:

"'git' binary could not be found in PATH Consider using the vcs_command to specify PATH"

Currently Git package supports to configure "git_command" in settings, maybe Modific could do the same?

gornostal commented 11 years ago

Yes. vcs_command is a mistake, it's called vcs in Modific. You could specify your path in this parameter.

pcambra commented 11 years ago

I did it but no effect, I set both vcs_command and git_command in the settings for the package but didn't fix it. I ended up doing it by PATH in the OS (a symlink can be another option) but it might be a good idea to provide a way to fix it here

gornostal commented 11 years ago

Have you tried to set the vcs setting? Modific doesn't have either vcs_command nor git_command setting.

On 20 лист. 2012, at 23:23, Pedro notifications@github.com wrote:

I did it but no effect, I set both vcs_command and git_command in the settings for the package but didn't fix it. I ended up doing it by PATH in the OS (a symlink can be another option) but it might be a good idea to provide a way to fix it here

— Reply to this email directly or view it on GitHubhttps://github.com/gornostal/Modific/issues/30#issuecomment-10573685.

pcambra commented 11 years ago

Ooh, now I got you and works, thanks! This is my setting in the Default settings for Modific package just in case someone bumps into this from google.

"vcs": [
    ["git", "/usr/local/bin/git"],
    ["svn", "svn"],
    ["bzr", "bzr"],
    ["hg" , "hg"]
],