ux: add missing progress description

This commit is contained in:
leo 2024-06-03 10:17:47 +08:00
parent 0e6a08860a
commit 6a98af17e4
3 changed files with 3 additions and 0 deletions

View file

@ -126,6 +126,7 @@ namespace SourceGit.ViewModels
}
else
{
SetProgressDescription($"Create new branch '{_name}'");
Commands.Branch.Create(_repo.FullPath, _name, _baseOnRevision);
}

View file

@ -42,6 +42,7 @@ namespace SourceGit.ViewModels
break;
}
SetProgressDescription($"Git Flow - finishing {_branch.Name} ...");
var succ = new Commands.GitFlow(_repo.FullPath).Finish(_type, branch, KeepBranch);
CallUIThread(() => _repo.SetWatcherEnabled(true));
return succ;

View file

@ -65,6 +65,7 @@ namespace SourceGit.ViewModels
_repo.SetWatcherEnabled(false);
return Task.Run(() =>
{
SetProgressDescription($"Git Flow - starting {_prefix}{_name} ...");
var succ = new Commands.GitFlow(_repo.FullPath).Start(_type, _name);
CallUIThread(() => _repo.SetWatcherEnabled(true));
return succ;