enhance: Git LFS support

This commit is contained in:
leo 2024-06-17 18:25:57 +08:00
parent e731807c91
commit 9a0b10bd9c
No known key found for this signature in database
GPG key ID: B528468E49CD0E58
24 changed files with 780 additions and 34 deletions

View file

@ -18,14 +18,6 @@ namespace SourceGit.ViewModels
return Task.Run(() =>
{
new Commands.GC(_repo.FullPath, SetProgressDescription).Exec();
var lfs = new Commands.LFS(_repo.FullPath);
if (lfs.IsEnabled())
{
SetProgressDescription("Run LFS prune ...");
lfs.Prune(SetProgressDescription);
}
CallUIThread(() => _repo.SetWatcherEnabled(true));
return true;
});