From e76c460aba1c97b019f6381beedbab7ad9c942d5 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Mon, 30 Jul 2012 15:59:35 +0400 Subject: [PATCH] cleanup --- plugins/git4idea/src/git4idea/ui/branch/GitBranchesAction.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/git4idea/src/git4idea/ui/branch/GitBranchesAction.java b/plugins/git4idea/src/git4idea/ui/branch/GitBranchesAction.java index 8c1fb1266b27..9388bd306a0e 100644 --- a/plugins/git4idea/src/git4idea/ui/branch/GitBranchesAction.java +++ b/plugins/git4idea/src/git4idea/ui/branch/GitBranchesAction.java @@ -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):