sincecutoff.com
← all changes

jj absorb adds interactive hunk selection

Introduced 2026-08-06 · score 0.98

HOW TO USE IT

When absorbing only some changes from a source revision, run `jj absorb -i` and select the changes to consider. Selected changes are assigned to eligible ancestors; changes that cannot be assigned unambiguously remain in the source.

jj absorb -i
jj absorb --tool <NAME>

WHY THIS HELPS

When absorbing only selected changes from a source commit, choose the hunks interactively.

BEFORE THIS CHANGE

Split the source commit before absorbing only part of it.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.44.0
  • --interactive, -i: Interactively choose which parts to absorb; only selected changes are considered.
  • --tool <NAME>: Select the diff editor to use; implies `--interactive`.
  • --from, -f <REVSET>: Source revision; defaults to `@`.
  • --into, -t <REVSETS>: Destination revisions; only ancestors of the source are considered. Defaults to `mutable()`.
  • FILESETS: Restrict changes moved to the specified paths; defaults to all paths.
  • Hunks that are not selected or cannot be absorbed remain in the source commit.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card