src/main/kotlin/de/uapcore/lightpit/types/CommitRef.kt

changeset 317
c2d7a9079853
parent 288
10324c383126
child 319
900ecf43f791
--- a/src/main/kotlin/de/uapcore/lightpit/types/CommitRef.kt	Wed Aug 07 18:01:11 2024 +0200
+++ b/src/main/kotlin/de/uapcore/lightpit/types/CommitRef.kt	Wed Aug 07 18:02:38 2024 +0200
@@ -58,7 +58,7 @@
             .map { it.groupValues[1] }
             .map { it.toIntOrNull() }
             .filterNotNull()
-            .forEach { commitId -> add(CommitRef(currentHash, commitId, currentDesc)) }
+            .forEach { commitId -> addFirst(CommitRef(currentHash, commitId, currentDesc)) }
     }
 }
 

mercurial