mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-21 10:25:00 +00:00
code_style: general cleanup (#1415)
* code_style: general cleanup * code_style: whitespace cleanup
This commit is contained in:
parent
35eda489be
commit
ffac71b15f
89 changed files with 161 additions and 243 deletions
|
@ -569,14 +569,14 @@ namespace SourceGit.ViewModels
|
|||
|
||||
if (!token.IsCancellationRequested)
|
||||
Dispatcher.UIThread.Invoke(() => FullMessage = new Models.CommitFullMessage { Message = message, Inlines = inlines });
|
||||
});
|
||||
}, token);
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
var signInfo = new Commands.QueryCommitSignInfo(_repo.FullPath, _commit.SHA, !_repo.HasAllowedSignersFile).Result();
|
||||
if (!token.IsCancellationRequested)
|
||||
Dispatcher.UIThread.Invoke(() => SignInfo = signInfo);
|
||||
});
|
||||
}, token);
|
||||
|
||||
if (Preferences.Instance.ShowChildren)
|
||||
{
|
||||
|
@ -587,7 +587,7 @@ namespace SourceGit.ViewModels
|
|||
var children = cmd.Result();
|
||||
if (!token.IsCancellationRequested)
|
||||
Dispatcher.UIThread.Post(() => Children = children);
|
||||
});
|
||||
}, token);
|
||||
}
|
||||
|
||||
Task.Run(() =>
|
||||
|
@ -617,7 +617,7 @@ namespace SourceGit.ViewModels
|
|||
SelectedChanges = null;
|
||||
});
|
||||
}
|
||||
});
|
||||
}, token);
|
||||
}
|
||||
|
||||
private Models.InlineElementCollector ParseInlinesInMessage(string message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue