feature: show remote's URL in tooltip for relevant BranchTreeNodes (#1310)

This commit is contained in:
Göran W 2025-05-13 16:36:10 +02:00 committed by GitHub
parent 0e61a0196b
commit 5b72b15cf2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,8 @@ namespace SourceGit.ViewModels
public string Tooltip
{
get => Backend is Models.Branch b ? b.FriendlyName : null;
get => Backend is Models.Branch b ?
b.FriendlyName : (Backend is Models.Remote r ? r.URL : null);
}
private Models.FilterMode _filterMode = Models.FilterMode.None;