Skip to content

Remember if PRs were opened as cherry-picks#138

Open
jennings wants to merge 1 commit into
mainfrom
remember-cherry-pick
Open

Remember if PRs were opened as cherry-picks#138
jennings wants to merge 1 commit into
mainfrom
remember-cherry-pick

Conversation

@jennings

Copy link
Copy Markdown
Owner

When adding a PR with jj spr diff --cherry-pick, it's too easy to forget to add --cherry-pick when uploading a new version. Doing so retargets the pull request to a special base branch, which is undesirable.

Add a new description marker "Cherry Pick" that indicates a change was uploaded as a cherry pick. Doing so makes future invocations of jj spr diff automatically apply the --cherry-pick flag. To disable this, add --no-cherry-pick.

When adding a PR with `jj spr diff --cherry-pick`, it's too easy to
forget to add `--cherry-pick` when uploading a new version. Doing so
retargets the pull request to a special base branch, which is
undesirable.

Add a new description marker "Cherry Pick" that indicates a change was
uploaded as a cherry pick. Doing so makes future invocations of `jj spr
diff` automatically apply the `--cherry-pick` flag. To disable this, add
`--no-cherry-pick`.
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