From 0547c2fe9a8cb9be42f7d83a20500df05d5949e7 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Fri, 15 Oct 2021 03:02:57 +0200 Subject: [PATCH] Changed max commits loaded in the log to 1000 --- src/main/kotlin/app/git/LogManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/git/LogManager.kt b/src/main/kotlin/app/git/LogManager.kt index 4607441..c26ff31 100644 --- a/src/main/kotlin/app/git/LogManager.kt +++ b/src/main/kotlin/app/git/LogManager.kt @@ -38,7 +38,7 @@ class LogManager @Inject constructor( commitList.addUncommitedChangesGraphCommit(logList.first()) commitList.source(walk) - commitList.fillTo(Int.MAX_VALUE) + commitList.fillTo(1000) // TODO: Limited commits to show to 1000, add a setting to let the user adjust this } ensureActive()