fix(server): end clone options before the repository URL (#14781)
This commit is contained in:
1 parent
411cef0008
commit
e65063ccf6
2 files changed
+45
-2
No files matched your search
@@ -303,7 +303,13 @@ export const make = Effect.gen(function* () {
|
||||
.execute({
|
||||
operation: "SourceControlRepositoryService.cloneRepository",
|
||||
cwd: path.dirname(prepared.destinationPath),
|
||||
args: ["clone", "--progress", prepared.cloneUrl, path.basename(prepared.destinationPath)],
|
||||
args: [
|
||||
"clone",
|
||||
"--progress",
|
||||
"--",
|
||||
prepared.cloneUrl,
|
||||
path.basename(prepared.destinationPath),
|
||||
],
|
||||
timeoutMs: options?.timeoutMs === undefined ? CLONE_TIMEOUT_MS : options.timeoutMs,
|
||||
// Progress redraws add up on a slow multi-GB clone. The buffered copy
|
||||
// is never read (the tail is kept by hand above), so keep it small
|
||||
|
||||
Reference in new issue
Block a user