code_style: run dotnet format
Some checks failed
Continuous Integration / Build (push) Has been cancelled
Continuous Integration / Prepare version string (push) Has been cancelled
Localization Check / localization-check (push) Has been cancelled
Continuous Integration / Package (push) Has been cancelled

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-05-28 15:17:05 +08:00
parent fbc8edcc13
commit 46231a759c
No known key found for this signature in database
9 changed files with 9 additions and 10 deletions

View file

@ -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();