mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-25 03:12:21 +08:00
optimize<Histories>: only test LFS filter at window start up.
This commit is contained in:
@@ -16,7 +16,7 @@ namespace SourceGit.Views {
|
||||
public Histories(string repo, string file) {
|
||||
this.repo = repo;
|
||||
this.file = file;
|
||||
this.isLFSEnabled = new Commands.LFS(repo).IsEnabled();
|
||||
this.isLFSEnabled = new Commands.LFS(repo).IsFiltered(file);
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user