diff --git a/plugins/git4idea/src/git4idea/history/GitFileHistory.kt b/plugins/git4idea/src/git4idea/history/GitFileHistory.kt index 4e7c22734f4d..78ae7b5dafc1 100644 --- a/plugins/git4idea/src/git4idea/history/GitFileHistory.kt +++ b/plugins/git4idea/src/git4idea/history/GitFileHistory.kt @@ -75,7 +75,7 @@ class GitFileHistory internal constructor(private val project: Project, while (starts.isNotEmpty()) { val (startRevisions, startPath) = starts.removeFirst() val lastCommits = runGitLog(logParser, startPath, visitedCommits, consumer, startRevisions + parameters.toList()) - if (lastCommits.isEmpty()) return + if (lastCommits.isEmpty()) continue for (lastCommit in lastCommits) { val parents = getParentsAndPathsIfRename(lastCommit, startPath)