-
Notifications
You must be signed in to change notification settings - Fork 353
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 output inconsistent in no-op cases #5006
Comments
The difference between the two cases is that |
Related to this, what do people think about making |
See main...push-rqrmtmwnrxyy for what it will look like |
Ilyagr pointed out |
Good point. We could make it print a warning if |
I would prefer not having to add |
The Perhaps we could remove |
You can also disable the requirement for |
To me, it was not super intuitive that Did not know about |
Description
The
jj rebase
behavior in jj-0.23 in the following no-op cases is inconsistent.Suppose @ has some children, then:
$ jj rebase -b @ -d @- Skipped rebase of 8 commits that were already in place Nothing changed. $ jj rebase -b @ -d @+ $
In the latter invocation, it should also print "Nothing changed."
Things are less obvious for the observer when @+ is given as a change_id, in that case "Nothing changed." is quite helpful, I am not sure if "Skipped rebase of commits that were already in place" would applicable in that case as well.
Steps to Reproduce the Problem
jj rebase -b @ -d @+
so that destination is any @:: descendant.jj rebase -b @ -d @
Expected Behavior
Output:
Nothing changed.
Actual Behavior
No output.
Specifications
The text was updated successfully, but these errors were encountered: