| ... | @@ -400,11 +400,6 @@ const makeGitCore = Effect.gen(function* () { | ... | @@ -400,11 +400,6 @@ const makeGitCore = Effect.gen(function* () { |
| 400 | }), | 400 | }), |
| 401 | ); | 401 | ); |
| 402 | | 402 | |
| 403 | const branchExists = (cwd: string, branch: string): Effect.Effect<boolean, GitCommandError> => | | |
| 404 | executeGit("GitCore.branchExists", cwd, ["show-ref", "--verify", "--quiet", `refs/heads/${branch}`], { | | |
| 405 | allowNonZeroExit: true, | | |
| 406 | }).pipe(Effect.map((result) => result.code === 0)); | | |
| 407 | | | |
| 408 | const remoteBranchExists = ( | 403 | const remoteBranchExists = ( |
| 409 | cwd: string, | 404 | cwd: string, |
| 410 | branch: string, | 405 | branch: string, |