diff --git a/plugins/git4idea/src/git4idea/GitContentRevision.java b/plugins/git4idea/src/git4idea/GitContentRevision.java index 9aee7df20de0..411d3bc82e66 100644 --- a/plugins/git4idea/src/git4idea/GitContentRevision.java +++ b/plugins/git4idea/src/git4idea/GitContentRevision.java @@ -141,12 +141,7 @@ public class GitContentRevision implements ByteBackedContentRevision { @Nullable VcsRevisionNumber revisionNumber, Project project, boolean isDeleted, final boolean canBeDeleted, boolean unescapePath) throws VcsException { - final FilePath file; - if (project.isDisposed()) { - file = VcsUtil.getFilePath(makeAbsolutePath(vcsRoot, path, unescapePath), false); - } else { - file = createPath(vcsRoot, path, isDeleted, canBeDeleted, unescapePath); - } + FilePath file = createPath(vcsRoot, path, isDeleted, canBeDeleted, unescapePath); return createRevision(file, revisionNumber, project); }