Skip to content

Commit

Permalink
keep redundant commits when cherry-picking
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Jul 3, 2023
1 parent c1f399b commit 4e02ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/pick-patches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const run = async (_: unknown) => {
const prSpinner = ora(`Cherry picking #${pr.number}`).start();

try {
await git.raw(['cherry-pick', '-m', '1', '-x', pr.mergeCommit]);
await git.raw(['cherry-pick', '-m', '1', '--keep-redundant-commits', '-x', pr.mergeCommit]);
prSpinner.succeed(`Picked: ${formatPR(pr)}`);
} catch (pickError) {
prSpinner.fail(`Failed to automatically pick: ${formatPR(pr)}`);
Expand Down

0 comments on commit 4e02ee9

Please sign in to comment.