mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 18:30:34 +08:00
ux: add missing progress description
This commit is contained in:
@@ -126,6 +126,7 @@ namespace SourceGit.ViewModels
|
||||
}
|
||||
else
|
||||
{
|
||||
SetProgressDescription($"Create new branch '{_name}'");
|
||||
Commands.Branch.Create(_repo.FullPath, _name, _baseOnRevision);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user