mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
fix<Dashboard>: when the remote branch name contains a folder '/', the belonging remote is sometimes incorrect
This commit is contained in:
@@ -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}/");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user