mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-21 18:35:00 +00:00
code_style: run dotnet format
Some checks failed
Some checks failed
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
fbc8edcc13
commit
46231a759c
9 changed files with 9 additions and 10 deletions
|
@ -36,7 +36,7 @@ namespace SourceGit.ViewModels
|
|||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
|
||||
public object Theirs
|
||||
{
|
||||
get;
|
||||
|
|
|
@ -178,7 +178,7 @@ namespace SourceGit.ViewModels
|
|||
if (action == Models.InteractiveRebaseAction.Squash || action == Models.InteractiveRebaseAction.Fixup)
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
item.Action = action;
|
||||
UpdateItems();
|
||||
}
|
||||
|
|
|
@ -639,7 +639,7 @@ namespace SourceGit.ViewModels
|
|||
Task.Run(RefreshWorktrees);
|
||||
Task.Run(RefreshWorkingCopyChanges);
|
||||
Task.Run(RefreshStashes);
|
||||
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
var config = new Commands.Config(_fullpath).ListAll();
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
var changes = new Commands.CompareRevisions(_repo.FullPath, $"{value.SHA}^", value.SHA).Result();
|
||||
var untracked = new List<Models.Change>();
|
||||
|
||||
|
||||
if (value.Parents.Count == 3)
|
||||
{
|
||||
untracked = new Commands.CompareRevisions(_repo.FullPath, Models.Commit.EmptyTreeSHA1, value.Parents[2]).Result();
|
||||
|
|
|
@ -1770,7 +1770,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
if (old.Count != cur.Count)
|
||||
return true;
|
||||
|
||||
|
||||
var oldMap = new Dictionary<string, Models.Change>();
|
||||
foreach (var c in old)
|
||||
oldMap.Add(c.Path, c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue