feature: supports switch histories order mode (#705)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-19 11:32:13 +08:00
parent f45bed6f92
commit b25f9bdb6c
No known key found for this signature in database
9 changed files with 69 additions and 5 deletions

View file

@ -64,7 +64,8 @@ namespace SourceGit.ViewModels
Task.Run(() =>
{
var commits = new Commands.QueryCommits(_repo.FullPath, $"-n 10000 {commit} -- \"{file}\"", false).Result();
var based = commit ?? string.Empty;
var commits = new Commands.QueryCommits(_repo.FullPath, false, $"-n 10000 {based} -- \"{file}\"", false).Result();
Dispatcher.UIThread.Invoke(() =>
{
IsLoading = false;