From a0c89362be653254436c07e3535eaadd870f75a9 Mon Sep 17 00:00:00 2001 From: Jai <814683@qq.com> Date: Wed, 14 Jul 2021 11:18:52 +0000 Subject: [PATCH] fix: when the remote branch name contains a folder '/', the belonging remote is sometimes incorrect --- src/Views/Widgets/Dashboard.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/Widgets/Dashboard.xaml.cs b/src/Views/Widgets/Dashboard.xaml.cs index f6c800c8..57318f2d 100644 --- a/src/Views/Widgets/Dashboard.xaml.cs +++ b/src/Views/Widgets/Dashboard.xaml.cs @@ -213,7 +213,7 @@ namespace SourceGit.Views.Widgets { MakeBranchNode(b, localBranches, folders, states, "locals/"); } else { var r = remoteBranches.Find(x => x.Name == b.Remote); - if (r != null) MakeBranchNode(b, r.Children, folders, states, "remotes/"); + if (r != null) MakeBranchNode(b, r.Children, folders, states, $"remotes/{b.Remote}/"); } }