How to compare a change through rebasing? #8265
-
|
Hello! I'm doing code review of a large change in an active repository. The PR has been modified: previous commits perhaps changed, new commits added, and the whole stack rebased. I want to compare the changes between two PR versions, excluding all other changes. How can I do this? It felt like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I found a path to getting this, by squashing all the commits into one change and then using interdiff. This works, but it's more manual to set up and clean up afterwards. I hope jj can provide something that does this without needing to manually create/clean the target changes. |
Beta Was this translation helpful? Give feedback.
-
|
I think your guess that There's also FR #498 for adding something like In your example, it looks like the other person does not use jj, so their commits don't have preserved change IDs. That means that a naive |
Beta Was this translation helpful? Give feedback.
Thanks for the insight. Sounds like jj doesn't support this use case at this time. I've created #8281 to track.