diffsoup: view interdiffs between github pull request versions per commit #8617
junglerobba
started this conversation in
Show and tell
Replies: 2 comments 2 replies
|
How does that work? Should |
2 replies
|
This one slipped by my notifications; glad I could help you solve the hardest problem of all (naming)! I might give this a try for jj itself, thank you! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/junglerobba/diffsoup
name inspired by this post
jj interdiffis great, but it's a bit hard to use when reviewing PRs, especially those containing multiple commits, because then it involves a bunch of manual work copying around commit ids, fetching commits if it's someone else's code, figuring out which commit you actually want to compare / which ones didn't change at all. This tool is an attempt to do this automatically, so all you have to provide is a local copy of the repo and a pull request url.This started out as a small bash script / fzf picker showing interdiffs, but grew into this tui application using jj-lib to make it more manageable.
It's all basically working around the fact that github etc always show the entire diff of a branch including incoming changes from trunk, even when using the small and well-hidden "Compare changes" button.
All reactions