From e8c3a3de6f35929ab758d27f68cf237039e2dbd0 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Wed, 1 Jun 2022 15:01:51 +0200 Subject: [PATCH] Fixed new branch not appearing in the log --- src/main/kotlin/app/viewmodels/BranchesViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/viewmodels/BranchesViewModel.kt b/src/main/kotlin/app/viewmodels/BranchesViewModel.kt index ed018ff..f1b1758 100644 --- a/src/main/kotlin/app/viewmodels/BranchesViewModel.kt +++ b/src/main/kotlin/app/viewmodels/BranchesViewModel.kt @@ -39,7 +39,7 @@ class BranchesViewModel @Inject constructor( } fun createBranch(branchName: String) = tabState.safeProcessing( - refreshType = RefreshType.NONE, + refreshType = RefreshType.ONLY_LOG, ) { git -> branchesManager.createBranch(git, branchName) this.loadBranches(git)