From 7985637bac791d4059b1794820e93019bef694cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ty=C3=A9=20singwa?= <92231658+tye-singwa@users.noreply.github.com> Date: Thu, 26 May 2022 15:16:37 +0300 Subject: [PATCH] explicitly specify git diff prefixes --- src/makePatch.ts | 2 ++ 1 file changed, 2 insertions(+) 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) {