Skip to content

Commit e16546c

Browse files
authored
Merge pull request #395 from tye-singwa/fix/git-diff-prefixes
Explicitly specify git diff prefixes
2 parents bb628da + 7985637 commit e16546c

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)