Skip to content

Commit 6563d12

Browse files
committed
fix(git): don't use external diff tools when getting git diff
1 parent ebbaff0 commit 6563d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const getDiff = async ({ files }: { files: string[] }) => {
122122

123123
const { stdout: diff } = await execa(
124124
'git',
125-
['diff', '--staged', '--', ...filesWithoutLocks],
125+
['diff', '--staged', '--no-ext-diff', '--', ...filesWithoutLocks],
126126
{ cwd: gitDir }
127127
);
128128

0 commit comments

Comments
 (0)