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

Seeks git in /usr/bin/git which triggers an error on my OSX installation #97

Closed andreimoment closed 9 years ago

andreimoment commented 9 years ago

Any way to change the path to git?

The correct location in my case is

/usr/local/bin/git

gornostal commented 9 years ago

@andreimoment, Yes. It's described in README. You can change path in Modific -> Settings User.

andreimoment commented 9 years ago

I am asking here because nothing there resembles a path. Could you please provide an example? On Wed, Aug 19, 2015 at 10:46 PM Aleksandr Gornostal < notifications@github.com> wrote:

Closed #97 https://github.com/gornostal/Modific/issues/97.

— Reply to this email directly or view it on GitHub https://github.com/gornostal/Modific/issues/97#event-387335690.

gornostal commented 9 years ago

Here is an example.

{
    "vcs": [
        {"name": "git", "dir": ".git", "cmd": "/usr/local/bin/git"},
        {"name": "svn", "dir": ".svn", "cmd": "svn"},
        {"name": "bzr", "dir": ".bzr", "cmd": "bzr"},
        {"name": "hg",  "dir": ".hg",  "cmd": "hg"},
        {"name": "tf",  "dir": "$tf",  "cmd": "C:/Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE/TF.exe"}
    ]
}
andreimoment commented 9 years ago

Thank you! I guess I was confused because in the main example none of the values for "cmd" looked like a path to a file... Until I noticed the Windows entry :)