mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-07 03:45:00 +00:00
feature: supports --recurse-submodules
on pull (#1342)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
d73ae83b01
commit
936160ea5c
9 changed files with 46 additions and 14 deletions
|
@ -17,8 +17,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public bool IsRecurseSubmoduleVisible
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
get => _repo.Submodules.Count > 0;
|
||||
}
|
||||
|
||||
public bool RecurseSubmodules
|
||||
|
@ -32,7 +31,6 @@ namespace SourceGit.ViewModels
|
|||
_repo = repo;
|
||||
Branch = branch;
|
||||
DiscardLocalChanges = false;
|
||||
IsRecurseSubmoduleVisible = repo.Submodules.Count > 0;
|
||||
}
|
||||
|
||||
public override Task<bool> Sure()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue