mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
Diff show loading tip
This commit is contained in:
parent
04ca0a9236
commit
da81d0c6c8
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ namespace SourceGit.UI {
|
|||
/// <param name="orgPath"></param>
|
||||
public void Diff(Git.Repository repo, string options, string path, string orgPath = null) {
|
||||
SetTitle(path, orgPath);
|
||||
|
||||
loading.Visibility = Visibility.Visible;
|
||||
Task.Run(() => {
|
||||
var args = $"{options} -- ";
|
||||
if (!string.IsNullOrEmpty(orgPath)) args += $"{orgPath} ";
|
||||
|
|
Loading…
Reference in a new issue