mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34: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
|
@ -60,12 +60,6 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _httpProxy, value);
|
||||
}
|
||||
|
||||
public bool EnablePruneOnFetch
|
||||
{
|
||||
get => _repo.Settings.EnablePruneOnFetch;
|
||||
set => _repo.Settings.EnablePruneOnFetch = value;
|
||||
}
|
||||
|
||||
public bool EnableAutoFetch
|
||||
{
|
||||
get => _repo.Settings.EnableAutoFetch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue