mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feature: make --recurse-submdoules
an option while trying to checkout branch with submodules (#1272)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
054bbf7e0c
commit
df29edd8f0
10 changed files with 80 additions and 11 deletions
|
@ -1154,7 +1154,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
if (branch.IsLocal)
|
||||
{
|
||||
if (_localChangesCount > 0)
|
||||
if (_localChangesCount > 0 || _submodules.Count > 0)
|
||||
ShowPopup(new Checkout(this, branch.Name));
|
||||
else
|
||||
ShowAndStartPopup(new Checkout(this, branch.Name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue