← Back to context

Comment by abound

3 days ago

You piqued my interest with the mention of jujutsu support. I just read the post on using it for code review [1] for stacked PRs and was really impressed, awesome work!

I've never used Gerrit directly, but I'm guessing that Jujutsu's change IDs are like a native version of what Gerrit does there.

I regularly (attempt to) do stacked diffs on GitHub with jj, and even with a bunch of automations it's still a clunky, awkward experience.

[1] https://blog.tangled.sh/stacking

Glad you liked it! Yes, jj's change IDs are very similar to Gerrit's, but instead of a commit trailer it's now a header in the commit object itself. For example:

    $ git cat-file commit caa00e20


    tree e8418bf7e7c626fdf5b1570e6efcddf1e1b0c923
    parent 1e3a841997f81c9b0ed21dc5a91e783fcf2f4ec7
    author Anirudh Oppiliappan <anirudh@tangled.sh> 1754996643 +0300
    committer Anirudh Oppiliappan <anirudh@tangled.sh> 1754996799 +0300
    change-id skwlyzyomnwqntksmoqkrllqlpsskztt

    xrpc/{errors,serviceauth}: split shared xrpc code to top-level package

    Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>