mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
fix<Dashboard>: when the remote branch name contains a folder '/', the belonging remote is sometimes incorrect
This commit is contained in:
parent
586728eea1
commit
a0c89362be
1 changed files with 1 additions and 1 deletions
|
@ -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}/");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue