Page 1 of 1

Git plugin

Posted: Thu Mar 29, 2012 8:52 pm
by spaces
I tried to search the forum but it didn't turn out anything I could use.

So, I'm using git on Windows. Tortoisegit, and it works pretty ok. So I thought I give a try to CodeLite's Git plugin. It colors the files fine. Modified to red, tracked to green.

Anyway when I want to diff it returns with an error.
0:47:49: Git: D:\Program Files\Git\bin\git.exe --no-pager diff --no-color \Test\Test.cpp. Repo path: D:\valami

test.cpp is in d:\valami\test\test.cpp

So I think my problem is where to configure what arguments are passed to git and in what directory it's executed.

Any help would be appreciated.

Re: Git plugin

Posted: Fri Mar 30, 2012 3:03 am
by spaces
Oh nice Git plugin will never work on Windoze:

In git.cpp:

if(path.StartsWith(wxT("/")))
path.Remove(0,1);

Next task: figure out how to create and send in patch. :D

Re: Git plugin

Posted: Fri Mar 30, 2012 11:05 am
by jfouche
This plugin works on Windows

Re: Git plugin

Posted: Fri Mar 30, 2012 8:22 pm
by spaces
Does the "Show diff file" menu work for you?