Skip to content

[INFRA] Complete cherry pick as part of merge script - #58214

Draft
nchammas wants to merge 1 commit into
apache:masterfrom
nchammas:merge-pr-cherry-pick-whitespace
Draft

[INFRA] Complete cherry pick as part of merge script#58214
nchammas wants to merge 1 commit into
apache:masterfrom
nchammas:merge-pr-cherry-pick-whitespace

Conversation

@nchammas

@nchammas nchammas commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

When a conflict occurs on cherry picking a commit to a branch, ask the user to fix the conflict but have the script continue the cherry pick itself.

Why are the changes needed?

If the user calls git cherry-pick --continue themselves, it's likely that commit message lines starting with # will be interpreted as comments and stripped. This is what happened here. Compare the commit message on 9a75a1d (master) to 8cc56ea (branch-4.x) and note how every line beginning with # was stripped from the latter.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

I'm honestly not sure how best to test this. Will report back.

Was this patch authored or co-authored using generative AI tooling?

I wrote this with assistance from GitHub Copilot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant