refactor: do NOT use the --prune parameter for git fetch command (#590)

This commit is contained in:
leo 2024-10-22 16:53:48 +08:00
parent 077e35b860
commit b9d7f908c9
No known key found for this signature in database
13 changed files with 7 additions and 27 deletions

View file

@ -2114,7 +2114,7 @@ namespace SourceGit.ViewModels
IsAutoFetching = true;
Dispatcher.UIThread.Invoke(() => OnPropertyChanged(nameof(IsAutoFetching)));
new Commands.Fetch(_fullpath, "--all", true, false, null) { RaiseError = false }.Exec();
new Commands.Fetch(_fullpath, "--all", false, null) { RaiseError = false }.Exec();
_lastFetchTime = DateTime.Now;
IsAutoFetching = false;
Dispatcher.UIThread.Invoke(() => OnPropertyChanged(nameof(IsAutoFetching)));