LinuxCommandLibrary

jj-interdiff

shows the difference between the changes introduced by two revisions

TLDR

Show diff between two revisions' changes

$ jj interdiff --from [rev1] --to [rev2]
copy
Show interdiff with context
$ jj interdiff --from [rev1] --to [rev2] --context [5]
copy

SYNOPSIS

jj interdiff [options]

DESCRIPTION

jj interdiff shows the difference between the changes introduced by two revisions. Unlike regular diff which compares file contents, interdiff compares what each revision changed relative to its parent. Useful for comparing different implementations of the same change.

PARAMETERS

--from revision

First revision to compare.
--to revision
Second revision to compare.
--context lines
Number of context lines.

SEE ALSO

jj(1), jj-diff(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community