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.
Git plugin
-
- CodeLite Veteran
- Posts: 67
- Joined: Mon Aug 22, 2011 10:15 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
-
- CodeLite Veteran
- Posts: 67
- Joined: Mon Aug 22, 2011 10:15 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Git plugin
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.
In git.cpp:
if(path.StartsWith(wxT("/")))
path.Remove(0,1);
Next task: figure out how to create and send in patch.
-
- CodeLite Guru
- Posts: 351
- Joined: Mon Oct 20, 2008 7:26 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
-
- CodeLite Veteran
- Posts: 67
- Joined: Mon Aug 22, 2011 10:15 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Git plugin
Does the "Show diff file" menu work for you?