enhance: search commits by message (#256)

This commit is contained in:
leo 2024-07-15 10:17:26 +08:00
parent 3aad24a64e
commit 8e7bfc43e0
No known key found for this signature in database
3 changed files with 20 additions and 3 deletions

View file

@ -566,7 +566,7 @@ namespace SourceGit.ViewModels
break;
case 2:
visible = new Commands.QueryCommits(FullPath, $"-1000 --grep=\"{_searchCommitFilter}\"", false).Result();
visible = new Commands.QueryCommits(FullPath, 1000, _searchCommitFilter).Result();
break;
case 3:
visible = new Commands.QueryCommits(FullPath, $"-1000 -- \"{_searchCommitFilter}\"", false).Result();