mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00: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:
parent
fe03512c5c
commit
2d7ea561e2
2 changed files with 12 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