Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default revisions for jj sign #5825

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

pylbrecht
Copy link
Contributor

@pylbrecht pylbrecht commented Feb 27, 2025

Closes #5428

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

@pylbrecht pylbrecht force-pushed the pylbrecht/push-yksvluyrmmxs branch 3 times, most recently from 00e9c42 to d836074 Compare February 27, 2025 16:11
@pylbrecht
Copy link
Contributor Author

pylbrecht commented Feb 27, 2025

Same question as #5823 (comment): if this PR makes it into the same release as #4747, I think we don't need an extra changelog entry, do we?

// edit
I extended the changelog entry for jj sign. If the PR does not make it into the same release as jj sign, I will add an extra entry.

When signing commits with `jj sign`, one might want to use a workflow
like:

```bash
jj fix && jj sign .. && jj git push
```

Making the default value for `-r`/`--revisions` configurable, will allow
such a workflow.

Co-Authored-By: Yuya Nishihara <yuya@tcha.org>
@pylbrecht pylbrecht force-pushed the pylbrecht/push-yksvluyrmmxs branch from d836074 to 1f701eb Compare February 27, 2025 16:22
@PhilipMetzger
Copy link
Contributor

Same question as #5823 (comment): if this PR makes it into the same release as #4747, I think we don't need an extra changelog entry, do we?

No, so the current approach should be fine.

@pylbrecht pylbrecht marked this pull request as ready for review February 27, 2025 18:55
@pylbrecht pylbrecht requested a review from yuja February 27, 2025 18:55
@pylbrecht pylbrecht added this pull request to the merge queue Feb 28, 2025
Merged via the queue into jj-vcs:main with commit c90f0b9 Feb 28, 2025
24 checks passed
@pylbrecht pylbrecht deleted the pylbrecht/push-yksvluyrmmxs branch February 28, 2025 07:29
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.

FR: make default revisions of jj sign configurable
3 participants