Skip to content

Commit

Permalink
fix(import): Rebase patch copies, too
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Apr 10, 2018
1 parent f7a8e7b commit f6bae80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/import/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class ImportCommand extends Command {
.replace(/^([-+]{3} [ab])/gm, replacement)
.replace(/^(diff --git a)/gm, replacement)
.replace(/^(diff --git \S+ b)/gm, replacement)
.replace(/^(copy (from|to)) /gm, `$1 ${formattedTarget}/`)
.replace(/^(rename (from|to)) /gm, `$1 ${formattedTarget}/`);
}

Expand Down

0 comments on commit f6bae80

Please sign in to comment.