Skip to content

v0.1.0

Latest

Choose a tag to compare

@xiaoxinghu xiaoxinghu released this 06 Nov 22:00
· 27 commits to main since this release

First release. Review a git diff in Emacs the way a pull request page does.

  • Review file: a small JSON file that holds the base, the viewed marks and the comments. Git supplies everything else.
  • Overview: the counts and the changed files as a foldable tree.
  • Real files: each file opens in its own major mode, so editing, xref and LSP work. Removed lines appear inline, added lines are tinted, and a focus mode folds the unchanged lines.
  • Sidebar: a file tree attached to the review's window that splits, moves and closes with it. It can be resized and keeps its width.
  • Viewed marks: a mark records the file's blob and clears when the file changes.
  • Comments: line threads with replies and resolve. They are drawn under their lines, follow edits and show as outdated when their lines change. Agents can write them with jq.
  • Comparisons: the worktree against the merge base, or two commits.
  • Keys: all under one prefix (C-c _). They work with repeat-mode, next-error and which-key, and there are optional Evil bindings.
  • Customizable: faces for everything drawn, fringe placement, tint, header line and default base.

Needs Emacs 29.1 and magit-section.