refactor: commit search

* no longer depends on the commits displayed in histories view
* limit the number of commits returned by all search methods to a maximum of 1000
This commit is contained in:
leo 2024-08-28 16:56:43 +08:00
parent 48e1de809b
commit c90abd0ca2
No known key found for this signature in database
3 changed files with 24 additions and 22 deletions

View file

@ -6,6 +6,13 @@ using Avalonia.Media;
namespace SourceGit.Models
{
public enum CommitSearchMethod
{
ByUser,
ByMessage,
ByFile,
}
public class Commit
{
public static double OpacityForNotMerged