Skip to content

Commit 7985637

Browse files
committed
explicitly specify git diff prefixes
1 parent 5c2c92b commit 7985637

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/makePatch.ts

+2
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ export function makePatch({
214214
"--no-color",
215215
"--ignore-space-at-eol",
216216
"--no-ext-diff",
217+
"--src-prefix=a/",
218+
"--dst-prefix=b/"
217219
)
218220

219221
if (diffResult.stdout.length === 0) {

0 commit comments

Comments
 (0)