feature: remember --reflog, --first-parent, --topo-order and --date-order toggle states

This commit is contained in:
leo 2024-12-18 19:49:08 +08:00
parent ed3e7cbfaf
commit 37bf6dec5e
No known key found for this signature in database
4 changed files with 57 additions and 28 deletions

View file

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