@Override
public Void call() throws Exception {
GitBrancher brancher = ServiceManager.getService(project, GitBrancher.class);
Optional<GitRepository> gitRepositoryOptional = gerritGitUtil.
getRepositoryForGerritProject(project, changeDetails.project);
brancher.checkout("FETCH_HEAD", Collections.singletonList(gitRepositoryOptional.get()), null);
return null;
}
};
fetchAction.fetchChange(selectedChange.get(), project, successCallable);
}