Skip to content

Commit

Permalink
explicitly specify git diff prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tye-singwa committed May 26, 2022
1 parent 5c2c92b commit 7985637
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/makePatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7985637

Please sign in to comment.