mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[vcs][log] Fixed rename detection for file history.
Avoid stopping the traversal of renames when one branch returns no commits. GitOrigin-RevId: 20ac1952ca9c4f3d8f1157db1bbe736b64e50142
This commit is contained in:
committed by
intellij-monorepo-bot
parent
566855921d
commit
09c529d0c4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user