mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
ux: add missing progress description
This commit is contained in:
parent
0e6a08860a
commit
6a98af17e4
3 changed files with 3 additions and 0 deletions
|
@ -126,6 +126,7 @@ namespace SourceGit.ViewModels
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
SetProgressDescription($"Create new branch '{_name}'");
|
||||||
Commands.Branch.Create(_repo.FullPath, _name, _baseOnRevision);
|
Commands.Branch.Create(_repo.FullPath, _name, _baseOnRevision);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,7 @@ namespace SourceGit.ViewModels
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetProgressDescription($"Git Flow - finishing {_branch.Name} ...");
|
||||||
var succ = new Commands.GitFlow(_repo.FullPath).Finish(_type, branch, KeepBranch);
|
var succ = new Commands.GitFlow(_repo.FullPath).Finish(_type, branch, KeepBranch);
|
||||||
CallUIThread(() => _repo.SetWatcherEnabled(true));
|
CallUIThread(() => _repo.SetWatcherEnabled(true));
|
||||||
return succ;
|
return succ;
|
||||||
|
|
|
@ -65,6 +65,7 @@ namespace SourceGit.ViewModels
|
||||||
_repo.SetWatcherEnabled(false);
|
_repo.SetWatcherEnabled(false);
|
||||||
return Task.Run(() =>
|
return Task.Run(() =>
|
||||||
{
|
{
|
||||||
|
SetProgressDescription($"Git Flow - starting {_prefix}{_name} ...");
|
||||||
var succ = new Commands.GitFlow(_repo.FullPath).Start(_type, _name);
|
var succ = new Commands.GitFlow(_repo.FullPath).Start(_type, _name);
|
||||||
CallUIThread(() => _repo.SetWatcherEnabled(true));
|
CallUIThread(() => _repo.SetWatcherEnabled(true));
|
||||||
return succ;
|
return succ;
|
||||||
|
|
Loading…
Reference in a new issue