mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
fix(dashboard.xaml.cs): 对于 SUBMODULE ,如果发现 HEAD 出于游离状态,这自动切换到找的第一个有效分支
This commit is contained in:
parent
aa017d5f2f
commit
728b4dd879
2 changed files with 11 additions and 2 deletions
|
@ -927,7 +927,7 @@ namespace SourceGit.Git {
|
|||
public void UpdateSubmodule() {
|
||||
isWatcherDisabled = true;
|
||||
|
||||
var errs = RunCommand("submodule update", null);
|
||||
var errs = RunCommand("submodule update --rebase --remote", null);
|
||||
if (errs != null) {
|
||||
App.RaiseError(errs);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue