diff --git a/src/makePatch.ts b/src/makePatch.ts index 13696703..a51419b2 100644 --- a/src/makePatch.ts +++ b/src/makePatch.ts @@ -214,6 +214,8 @@ export function makePatch({ "--no-color", "--ignore-space-at-eol", "--no-ext-diff", + "--src-prefix=a/", + "--dst-prefix=b/" ) if (diffResult.stdout.length === 0) {