Showing the changes to apps/server/src/sourceControl (2 of 11 files). Show all
Unified · Split
| @@ -209,7 +209,7 @@ it.effect("clones a looked-up repository into the requested destination", () => · 208 unmodified lines | |||
| 209 | assert.deepStrictEqual(cloneCalls, [ | 209 | assert.deepStrictEqual(cloneCalls, [ |
| 210 | { | 210 | { |
| 211 | cwd: `${parent}/missing/nested`, | 211 | cwd: `${parent}/missing/nested`, |
| 212 | args: ["clone", CLONE_URLS.url, "t3code"], | 212 | args: ["clone", "--origin", "origin", CLONE_URLS.url, "t3code"], |
| 213 | }, | 213 | }, |
| 214 | ]); | 214 | ]); |
| 215 | }).pipe( | 215 | }).pipe( |
| @@ -310,7 +310,7 @@ export const make = Effect.gen(function* () { · 309 unmodified lines | |||
| 310 | yield* git.execute({ | 310 | yield* git.execute({ |
| 311 | operation: "SourceControlRepositoryService.cloneRepository", | 311 | operation: "SourceControlRepositoryService.cloneRepository", |
| 312 | cwd: preparedDestination.parentPath, | 312 | cwd: preparedDestination.parentPath, |
| 313 | args: ["clone", remoteUrl, preparedDestination.directoryName], | 313 | args: ["clone", "--origin", "origin", remoteUrl, preparedDestination.directoryName], |
| 314 | timeoutMs: 120_000, | 314 | timeoutMs: 120_000, |
| 315 | maxOutputBytes: 256 * 1024, | 315 | maxOutputBytes: 256 * 1024, |
| 316 | }); | 316 | }); |