From 6563d125bb97820bcdefb955838f53ab050f1d22 Mon Sep 17 00:00:00 2001 From: municorn Date: Fri, 17 Oct 2025 07:46:52 -0600 Subject: [PATCH] fix(git): don't use external diff tools when getting git diff --- src/utils/git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/git.ts b/src/utils/git.ts index 902d61a8..35111493 100644 --- a/src/utils/git.ts +++ b/src/utils/git.ts @@ -122,7 +122,7 @@ export const getDiff = async ({ files }: { files: string[] }) => { const { stdout: diff } = await execa( 'git', - ['diff', '--staged', '--', ...filesWithoutLocks], + ['diff', '--staged', '--no-ext-diff', '--', ...filesWithoutLocks], { cwd: gitDir } );