Skip to content

scripts: add cherry-pick-commit.sh for metadata-preserving cherry-picks#13

Open
mircea-c wants to merge 1 commit intoanza-xyz:masterfrom
mircea-c:feat/cherry-pick-commit-script
Open

scripts: add cherry-pick-commit.sh for metadata-preserving cherry-picks#13
mircea-c wants to merge 1 commit intoanza-xyz:masterfrom
mircea-c:feat/cherry-pick-commit-script

Conversation

@mircea-c
Copy link
Contributor

During the agave to SVM transition, cherry-picks from agave can lose author/committer metadata and land out of chronological order.

This script fixes both: it preserves author and committer (name, email, date) from the upstream clone, and automatically reorders the commit into the correct position in the branch if needed.

Not sure this belongs in the repo long term, but wanted it reviewable rather than living only on my machine. Also want it usable in case I'm OOO and someone else needs to pick up the task.

I'm also fine just closing the PR without merging once the cut-over happens.

@mircea-c mircea-c self-assigned this Feb 25, 2026
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