I believe @knuthollund wrote a plugin for this. I haven't analyzed and pushed the code yet to the main repo, but I believe it works for him :)
You should be able to put it in your 'local/plugins/' folder. I think he moved the repo from #Gitorious but I'm not sure where right now.