enhance: remember the last selection of Use rebase instead of merge on pull for each repository (#185)

This commit is contained in:
leo 2024-06-19 15:36:49 +08:00
parent a717e48a29
commit dcc63e187b
No known key found for this signature in database
2 changed files with 9 additions and 3 deletions

View file

@ -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)
{