public void execute(IProgressMonitor monitor) throws CoreException {
Git git = new Git(repository);
EclipseGitProgressTransformer pm = new EclipseGitProgressTransformer(
monitor);
try {
git.gc().setProgressMonitor(pm).call();
} catch (GitAPIException e) {
throw new CoreException(new Status(IStatus.ERROR,
Activator.getPluginId(), e.getMessage(), e));
}
}