This commit is contained in:
Kirill Likhodedov
2012-07-30 16:05:56 +04:00
parent ff96e6d3fe
commit e76c460aba
@@ -38,9 +38,6 @@ public class GitBranchesAction extends DumbAwareAction {
final Project project = e.getData(PlatformDataKeys.PROJECT);
assert project != null;
GitRepositoryManager repositoryManager = GitUtil.getRepositoryManager(project);
if (repositoryManager == null) {
return;
}
VirtualFile file = e.getData(PlatformDataKeys.VIRTUAL_FILE);
GitRepository repository = (file == null ?
GitBranchUiUtil.getCurrentRepository(project):