mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
fix bug that stuck auto fetch when pull failed & make stage area resizeable (#627)
* fix watcher stuck by pull * make stage area resizeable --------- Co-authored-by: yindf <yindf@mail.jj.cn> (cherry picked from commit a842aca042a73cb5fa3995794aae2a2e3540b37f)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user