Skip to content

Commit

Permalink
Merge pull request #395 from tye-singwa/fix/git-diff-prefixes
Browse files Browse the repository at this point in the history
Explicitly specify git diff prefixes
  • Loading branch information
orta committed Sep 28, 2022
2 parents bb628da + 7985637 commit e16546c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/makePatch.ts
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 e16546c

Please sign in to comment.