diff --git a/plugins/git4idea/src/git4idea/repo/GitRepositoryImpl.kt b/plugins/git4idea/src/git4idea/repo/GitRepositoryImpl.kt index e099c2ced803..243574fde09c 100644 --- a/plugins/git4idea/src/git4idea/repo/GitRepositoryImpl.kt +++ b/plugins/git4idea/src/git4idea/repo/GitRepositoryImpl.kt @@ -234,19 +234,6 @@ class GitRepositoryImpl private constructor( return repository ?: createInstance(root, project, GitDisposable.getInstance(project)) } - - @JvmStatic - @ApiStatus.Internal - @Deprecated("Use {@link #createInstance(VirtualFile, Project, Disposable)}") - fun createInstance( - root: VirtualFile, - project: Project, - parentDisposable: Disposable, - listenToRepoChanges: Boolean, - ): GitRepository { - return createInstance(root, project, parentDisposable) - } - /** * Creates a new instance of the GitRepository for the given Git root directory.

* Use [GitRepositoryManager.getRepositoryForRoot] if you need to obtain an instance