mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[github] Fix changes not loading (IJPL-176927)
#IJPL-176927 Fixed Turns out: we all make boolean logic errors every once in a while, no exceptions. follow-up: f449ea4351689c3dac3b0ea23327addc30e25c1e (cherry picked from commit 9ab72e969a704fa346e76c69d14cfba068bde0ee) GitOrigin-RevId: 9088f5bdac7aa091d4abe89ae480c9fe7a526739
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b2681c056c
commit
5ca629ce0b
@@ -144,7 +144,7 @@ private fun sortCommits(commits: Collection<GHCommit>, lastCommitSha: String): L
|
||||
|
||||
val processedCommits = mutableSetOf<String>()
|
||||
fun ImmutableGraph.Builder<GHCommit>.addCommits(commit: GHCommit) {
|
||||
val alreadyProcessed = processedCommits.add(commit.oid)
|
||||
val alreadyProcessed = !processedCommits.add(commit.oid)
|
||||
if (alreadyProcessed) return
|
||||
addNode(commit)
|
||||
for (parent in commit.parents) {
|
||||
|
||||
Reference in New Issue
Block a user