# hunk for jj
Review Jujutsu changes
without leaving the terminal.
Hunk detects Jujutsu repositories and passes native jj revsets to its Jujutsu backend. Review a working copy or change in the same multi-file terminal UI Hunk provides for Git, without translating your workflow into Git refs.
Start reviewing
Run these commands inside a Jujutsu workspace:
hunk diff
hunk diff @-
hunk show @Review the working copy
Run hunk diff inside a Jujutsu workspace. Hunk detects jj and builds one navigable review stream from the current working-copy changes.
Use native revsets
Targets such as @, @-, and larger revset expressions stay in Jujutsu syntax. Use hunk diff <target> to compare and hunk show <target> to inspect one change.
Keep Hunk in the jj workflow
Configure jj to emit Git-format diffs through hunk pager, so pager-driven commands can open the same review UI while ordinary text still falls back to a text pager.
Use Hunk as the jj pager
# jj config edit --user
[ui]
pager = ["hunk", "pager"]
diff-formatter = ":git"What to know
Jujutsu has no Git staging area or stash workflow. Hunk's jj watch mode currently polls rather than observing repository files directly.