mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07: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>
|
/// <param name="orgPath"></param>
|
||||||
public void Diff(Git.Repository repo, string options, string path, string orgPath = null) {
|
public void Diff(Git.Repository repo, string options, string path, string orgPath = null) {
|
||||||
SetTitle(path, orgPath);
|
SetTitle(path, orgPath);
|
||||||
|
|
||||||
|
loading.Visibility = Visibility.Visible;
|
||||||
Task.Run(() => {
|
Task.Run(() => {
|
||||||
var args = $"{options} -- ";
|
var args = $"{options} -- ";
|
||||||
if (!string.IsNullOrEmpty(orgPath)) args += $"{orgPath} ";
|
if (!string.IsNullOrEmpty(orgPath)) args += $"{orgPath} ";
|
||||||
|
|
Loading…
Reference in a new issue