mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-24 20:05:00 +00:00
fix watcher stuck by pull
This commit is contained in:
parent
bb29476a80
commit
28e95f086a
1 changed files with 3 additions and 0 deletions
|
@ -149,7 +149,10 @@ namespace SourceGit.ViewModels
|
|||
SetProgressDescription($"Fetching remote: {_selectedRemote.Name}...");
|
||||
rs = new Commands.Fetch(_repo.FullPath, _selectedRemote.Name, NoTags, SetProgressDescription).Exec();
|
||||
if (!rs)
|
||||
{
|
||||
CallUIThread(() => _repo.SetWatcherEnabled(true));
|
||||
return false;
|
||||
}
|
||||
|
||||
_repo.MarkFetched();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue