Skip to content

Commit

Permalink
Update NGitLab.Mock/Config/GitLabHelpers.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Gérald Barré <[email protected]>
  • Loading branch information
jairbubbles and meziantou authored Sep 28, 2023
1 parent 1e6706f commit a11e42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NGitLab.Mock/Config/GitLabHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ private static IEnumerable<string> CreateSubModules(GitLabServer server, Project
}

using var process = Process.Start(
new ProcessStartInfo("git", $"-c protocol.file.allow=always submodule add {subModuleProject.SshUrl} {subModuleProject.Name}")
new ProcessStartInfo("git", $"-c protocol.file.allow=always submodule add \"{subModuleProject.SshUrl}\" \"{subModuleProject.Name}\"")
{
RedirectStandardError = true,
UseShellExecute = false,
Expand Down

0 comments on commit a11e42c

Please sign in to comment.