GIT plugin
Posted: Thu Feb 10, 2011 6:53 pm
Hi all!
As I do use GIT for all projects (be it private or work related) I felt the need to have a plugin for that in CodeLite.
Since I don't use svn frequently, I didn't base the plugin on the existing svn plugin, but created a new one.
As a result it is very different from the svn plugin, as it was more or less tailored for my own needs.
Eran mentioned that having a git plugin would be nice, so I decided to post here and discuss what I did.
Please see the attached screenshot.
- The major difference is that I used the Workspace tree to indicate file status: Green means "tracked file", red means
"tracked file with diffs" and black means "not tracked".
- To enable working with this plugin you simply create a new workspace and then use "Select GIT repository path" from the plugin menu.
Then you choose the root dir of the git repository and that's about it.
- All action is controlled either by using the plugin menu, or the toolbar.
- The current branch is indicated by changing the workspace view widgets title.
Some things are still missing (stashing e.g.) and others are a bit "buggy" (they work, but I would like to change them).
The code could need some polishing as well
But so far it serves me and my colleagues quite well in everyday use.
Please tell me what you think.
Eran, David: If you're interested, I could PM you the sources to play with.
Regards,
upCASE
As I do use GIT for all projects (be it private or work related) I felt the need to have a plugin for that in CodeLite.
Since I don't use svn frequently, I didn't base the plugin on the existing svn plugin, but created a new one.
As a result it is very different from the svn plugin, as it was more or less tailored for my own needs.
Eran mentioned that having a git plugin would be nice, so I decided to post here and discuss what I did.
Please see the attached screenshot.
- The major difference is that I used the Workspace tree to indicate file status: Green means "tracked file", red means
"tracked file with diffs" and black means "not tracked".
- To enable working with this plugin you simply create a new workspace and then use "Select GIT repository path" from the plugin menu.
Then you choose the root dir of the git repository and that's about it.
- All action is controlled either by using the plugin menu, or the toolbar.
- The current branch is indicated by changing the workspace view widgets title.
Some things are still missing (stashing e.g.) and others are a bit "buggy" (they work, but I would like to change them).
The code could need some polishing as well
But so far it serves me and my colleagues quite well in everyday use.
Please tell me what you think.
Eran, David: If you're interested, I could PM you the sources to play with.
Regards,
upCASE