I'm curretly working on a small plugin to display the current active branch of any git root directory in the ProjectView. I've got it working for the most part, such that upon refresh of the view it will correctly display the currently active branch, however I'd like it to be able to listen for git branch changes and refresh the ProjectView so the changes are reflected.
I see that this is quite easy with the most current version of the Git Integration / git4Idea, which contains the GitBranchesLister interface and the GitBranches class which I could add my listener too. However this functionality seems to be very new and the default version shipped with IDEA 10.0.1 is git4Idea version 8.1 which was release quite a long time ago. Is it possible to achieve similar functionality is that version? If not, maybe someone who is working on the git4idea updates could give me an idea if the latest changes are going to go into the newest IDEA numbered build?
P.S. I apologize of any of my terminology is off, this is my first time working with git and my first time making an IDEA plugin.