Skip to content

Commit c8b0393

Browse files
committed
fix(server): a failed worktree add names its cause on hosts with translated git output
1 parent ba3c1ac commit c8b0393

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/vcs/GitVcsDriverCore.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3498,7 +3498,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function*
34983498
const onCheckoutProgress = progress?.onCheckoutProgress;
34993499

35003500
const checkoutWorkers = (yield* readConfigValue(input.cwd, "checkout.workers")) ?? "0";
3501-
yield* executeGit(
3501+
yield* executeGitWithStableDiagnostics(
35023502
"GitVcsDriver.createWorktree",
35033503
input.cwd,
35043504
["-c", `checkout.workers=${checkoutWorkers}`, ...args],
@@ -3509,7 +3509,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function*
35093509
? {
35103510
// Git only prints checkout progress when stderr is a tty or the
35113511
// delay elapsed. GIT_PROGRESS_DELAY=0 forces it through the pipe.
3512-
env: { GIT_PROGRESS_DELAY: "0", LC_ALL: "C" },
3512+
env: { GIT_PROGRESS_DELAY: "0" },
35133513
progress: {
35143514
onStderrLine: (line) => {
35153515
const parsed = parseGitCheckoutProgressLine(line);

0 commit comments

Comments
 (0)