Skip to content

Commit 5b72b15

Browse files
authored
feature: show remote's URL in tooltip for relevant BranchTreeNodes (#1310)
1 parent 0e61a01 commit 5b72b15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ViewModels/BranchTreeNode.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ public string BranchesCount
5656

5757
public string Tooltip
5858
{
59-
get => Backend is Models.Branch b ? b.FriendlyName : null;
59+
get => Backend is Models.Branch b ?
60+
b.FriendlyName : (Backend is Models.Remote r ? r.URL : null);
6061
}
6162

6263
private Models.FilterMode _filterMode = Models.FilterMode.None;

0 commit comments

Comments
 (0)