-
Notifications
You must be signed in to change notification settings - Fork 323
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
jj rebase --after main
causes thread panic
#4770
Labels
🐛bug
Something isn't working
Comments
cc @bnjmnt4n It might be easier to add |
I've created a quick PR #4779 to fix this. In the future, I believe we should be able to remove this restriction anyway and allow |
bnjmnt4n
added a commit
that referenced
this issue
Nov 7, 2024
bnjmnt4n
added a commit
that referenced
this issue
Nov 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using
jj rebase
with no-r
-s
or -b
argument, I believe the default behaviour is the same asjj rebase -b @ <args>
.It seems that
--after
is not a valid argument to combine with-b
, but the cli does not properly display a friendly error in the "implicit" case.Steps to Reproduce the Problem
jj rebase --after <revision>
in a jj repository.Expected Behavior
Displaying the same error as explicitly running
jj rebase -b @ --after main
:error: the argument '--branch <BRANCH>' cannot be used with '--insert-after <INSERT_AFTER>'
Actual Behavior
Output from running with RUST_BACKTRACE=full:
Specifications
Specifically the
openSSH
fork by bnjmnt4nThe text was updated successfully, but these errors were encountered: