mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
simplify
This commit is contained in:
@@ -165,9 +165,6 @@ public class GitBranchUiUtil {
|
||||
return null;
|
||||
}
|
||||
GitRepositoryManager manager = GitUtil.getRepositoryManager(project);
|
||||
if (manager == null) {
|
||||
return null;
|
||||
}
|
||||
VirtualFile file = getSelectedFile(project);
|
||||
if (file != null) {
|
||||
return manager.getRepositoryForRoot(getVcsRootFor(project, file));
|
||||
|
||||
Reference in New Issue
Block a user