mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
feature: show tracking status in Delete Branch
panel if possible (#785)
This commit is contained in:
parent
d616d0897b
commit
1ddd348a40
2 changed files with 19 additions and 0 deletions
|
@ -10,6 +10,12 @@ namespace SourceGit.ViewModels
|
|||
private set;
|
||||
}
|
||||
|
||||
public string TrackStatus
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public Models.Branch TrackingRemoteBranch
|
||||
{
|
||||
get;
|
||||
|
@ -32,6 +38,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
_repo = repo;
|
||||
Target = branch;
|
||||
TrackStatus = branch.TrackStatus.ToString();
|
||||
|
||||
if (branch.IsLocal && !string.IsNullOrEmpty(branch.Upstream))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue