mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00: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/");
|
MakeBranchNode(b, localBranches, folders, states, "locals/");
|
||||||
} else {
|
} else {
|
||||||
var r = remoteBranches.Find(x => x.Name == b.Remote);
|
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…
Add table
Add a link
Reference in a new issue