Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 12:41
· 63 commits to main since this release

Highlights

  • Commit list in the sidebar. [view] sidebar_commits = true (or <leader>E) puts the log's commits under the file tree, so you can flip between commits without going back to the log. The open commit has a highlighted background; C-j / C-k move between the tree and the list; Enter opens a commit and keeps you in the list; j/k, gg/G, C-d/C-u move.
  • Mouse support (on by default, [mouse] enabled = false to turn it off). Click focuses a pane and picks a row; double-click opens; a click on a directory arrow toggles it; drag in the diff selects lines for c (comment) or y (copy); the wheel scrolls whatever is under the pointer. Shift+drag still gives your terminal's own selection.
  • Pagination. Moving past the last row (j, G, C-d or the wheel, in the log and the commit list) loads the next page in the background. A dim … more row shows more history exists. Searches and filters stay on what's loaded and say … more not loaded on a miss.
  • Search in the commit list. / ? n N move the list's cursor without opening anything; f opens the log's one filter, so the list, the log and ]] / [[ always agree.

Changed

  • jj now lists the same scope as git: the ancestors of the current commit (::@, like git's HEAD), instead of jj's revsets.log. In repos where revsets.log showed only a handful of commits you now see the whole history.
  • New [log] config: revset and limit (default 200, also the page size). --revset and --limit still override them.

See the guide for every key and setting.

debrief and debrief-review 0.4.0 are on crates.io.

Full Changelog: v0.3.1...v0.4.0