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 } );