code_style: run dotnet format

This commit is contained in:
leo 2024-06-14 09:46:30 +08:00
parent 1dffb2ebf5
commit 9d3f186b44
No known key found for this signature in database
GPG key ID: B528468E49CD0E58
10 changed files with 17 additions and 16 deletions

View file

@ -1,6 +1,6 @@
using System;
using System.Text.Json.Serialization;
using System.Text.Json;
using System.Text.Json.Serialization;
using Avalonia.Controls;

View file

@ -442,7 +442,7 @@ namespace SourceGit.ViewModels
else
{
visible = new Commands.QueryCommits(FullPath, $"-1000 -- \"{_searchCommitFilter}\"", false).Result();
}
}
SearchedCommits = visible;
}
@ -1002,7 +1002,7 @@ namespace SourceGit.ViewModels
menu.Items.Add(new MenuItem() { Header = "-" });
menu.Items.Add(compareWithBranch);
}
}
}
var type = GitFlow.GetBranchType(branch.Name);

View file

@ -24,7 +24,7 @@ namespace SourceGit.ViewModels
_repo = repo;
_oldMessage = new Commands.QueryCommitFullMessage(_repo.FullPath, head.SHA).Result();
_message = _oldMessage;
Head = head;
View = new Views.Reword() { DataContext = this };
}

View file

@ -28,7 +28,7 @@ namespace SourceGit.ViewModels
{
_repo = repo;
_message = new Commands.QueryCommitFullMessage(_repo.FullPath, parent.SHA).Result();
Head = head;
Parent = parent;
View = new Views.Squash() { DataContext = this };