enhance: skip auto fetching when index.lock file exists in the repository's git dir

This commit is contained in:
leo 2024-09-18 14:49:53 +08:00
parent ba9c3058ed
commit 9c6745c271
No known key found for this signature in database
2 changed files with 10 additions and 4 deletions

View file

@ -271,7 +271,7 @@ namespace SourceGit.ViewModels
repo.Open();
ActiveWorkspace.AddRepository(repo.FullPath);
Models.AutoFetchManager.Instance.AddRepository(repo.FullPath);
Models.AutoFetchManager.Instance.AddRepository(repo.FullPath, repo.GitDir);
if (page == null)
{