Showing the changes to apps/server/src/git (1 of 6 files). Show all
Unified · Split
| @@ -747,7 +747,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { · 746 unmodified lines | |||
| 747 | ); | 747 | ); |
| 748 | const readRemoteStatus = Effect.fn("readRemoteStatus")(function* (cwd: string) { | 748 | const readRemoteStatus = Effect.fn("readRemoteStatus")(function* (cwd: string) { |
| 749 | const details = yield* gitCore | 749 | const details = yield* gitCore |
| 750 | .statusDetails(cwd) | 750 | .statusDetailsRemote(cwd) |
| 751 | .pipe(Effect.catchIf(isNotGitRepositoryError, () => Effect.succeed(null))); | 751 | .pipe(Effect.catchIf(isNotGitRepositoryError, () => Effect.succeed(null))); |
| 752 | if (details === null || !details.isRepo) { | 752 | if (details === null || !details.isRepo) { |
| 753 | return null; | 753 | return null; |