mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
refactor: move per-repository config Enable --prune on fetch
to global git config fetch.prune
(#908)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
aad42a8297
commit
fa07bb5b5a
20 changed files with 32 additions and 42 deletions
|
@ -2361,7 +2361,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
Dispatcher.UIThread.Invoke(() => IsAutoFetching = true);
|
||||
foreach (var remote in remotes)
|
||||
new Commands.Fetch(_fullpath, remote, false, _settings.EnablePruneOnFetch, false, null) { RaiseError = false }.Exec();
|
||||
new Commands.Fetch(_fullpath, remote, false, false, null) { RaiseError = false }.Exec();
|
||||
_lastFetchTime = DateTime.Now;
|
||||
Dispatcher.UIThread.Invoke(() => IsAutoFetching = false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue