code_style: general cleanup (#1415)

* code_style:  general cleanup

* code_style: whitespace cleanup
This commit is contained in:
Nathan Baulch 2025-06-12 11:35:37 +10:00 committed by GitHub
parent 35eda489be
commit ffac71b15f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
89 changed files with 161 additions and 243 deletions

View file

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