mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
enhance: remember the last selection of Use rebase instead of merge
on pull for each repository (#185)
This commit is contained in:
parent
a717e48a29
commit
dcc63e187b
2 changed files with 9 additions and 3 deletions
|
@ -55,9 +55,9 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public bool UseRebase
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = true;
|
||||
get => _repo.PreferRebaseInsteadOfMerge;
|
||||
set => _repo.PreferRebaseInsteadOfMerge = value;
|
||||
}
|
||||
|
||||
public Pull(Repository repo, Models.Branch specifiedRemoteBranch)
|
||||
{
|
||||
|
|
|
@ -39,6 +39,12 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _gitDir, value);
|
||||
}
|
||||
|
||||
public bool PreferRebaseInsteadOfMerge
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = true;
|
||||
|
||||
public AvaloniaList<string> Filters
|
||||
{
|
||||
get;
|
||||
|
|
Loading…
Reference in a new issue