Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6a7c76d

Browse files
committed
Don't give up if submodule init or update fails
1 parent 47adf68 commit 6a7c76d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.App/Services/PullRequestService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public IObservable<Unit> SyncSubmodules(ILocalRepositoryModel repository)
219219
// LibGit2Sharp has limited submodule support so shelling out Git.exe for submodule commands.
220220
async Task<int> SyncSubmodules(string workingDir, Action<string> progress = null)
221221
{
222-
var cmdArguments = "/C git submodule init && git submodule sync --recursive && git submodule update --recursive";
222+
var cmdArguments = "/C git submodule init & git submodule sync --recursive & git submodule update --recursive";
223223
var startInfo = new ProcessStartInfo("cmd", cmdArguments)
224224
{
225225
WorkingDirectory = workingDir,

0 commit comments

Comments
 (0)