()
| 197 | } |
| 198 | |
| 199 | function printVersion(): GitCliResult { |
| 200 | // Deliberately not impersonating a real git version string. |
| 201 | // Consumers that fingerprint via `git --version` will see this |
| 202 | // and can branch on it. |
| 203 | return { |
| 204 | stdout: "git version 0.0.0 (@cloudflare/computer)\n", |
| 205 | stderr: "", |
| 206 | exitCode: 0, |
| 207 | }; |
| 208 | } |
| 209 | |
| 210 | // --------------------------------------------------------------- |
| 211 | // clone |