Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion apps/server/src/checkpointing/Layers/CheckpointStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,15 @@ const makeCheckpointStore = Effect.gen(function* () {
const result = yield* git.execute({
operation,
cwd: input.cwd,
args: ["diff", "--patch", "--minimal", "--no-color", fromCommitOid, toCommitOid],
args: [
"diff",
"--no-ext-diff",
"--patch",
"--minimal",
"--no-color",
fromCommitOid,
toCommitOid,
],
maxOutputBytes: CHECKPOINT_DIFF_MAX_OUTPUT_BYTES,
});

Expand Down
4 changes: 2 additions & 2 deletions apps/server/src/git/Layers/GitCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ export const makeGitCore = Effect.fn("makeGitCore")(function* (options?: {
const stagedPatch = yield* runGitStdoutWithOptions(
"GitCore.prepareCommitContext.stagedPatch",
cwd,
["diff", "--cached", "--patch", "--minimal"],
["diff", "--no-ext-diff", "--cached", "--patch", "--minimal"],
{
maxOutputBytes: PREPARED_COMMIT_PATCH_MAX_OUTPUT_BYTES,
truncateOutputAtMaxBytes: true,
Expand Down Expand Up @@ -1610,7 +1610,7 @@ export const makeGitCore = Effect.fn("makeGitCore")(function* (options?: {
runGitStdoutWithOptions(
"GitCore.readRangeContext.diffPatch",
cwd,
["diff", "--patch", "--minimal", range],
["diff", "--no-ext-diff", "--patch", "--minimal", range],
{
maxOutputBytes: RANGE_DIFF_PATCH_MAX_OUTPUT_BYTES,
truncateOutputAtMaxBytes: true,
Expand Down
Loading