• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 25207079440
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/alecthomas/chroma/v2-2.24.1
DEFAULT BRANCH: master
Ran 01 May 2026 07:50AM UTC
Jobs 1
Files 69
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 May 2026 07:00AM UTC coverage: 89.551% (-0.1%) from 89.69%
25207079440

Pull #163

github

rashpile
feat: add --compare flag and validation to config

feat: implement CompareReader for git diff --no-index two-file diff

feat: wire --compare flag into main.go run() function

Switch renderer selection to a switch statement covering compare,
stdin, and VCS modes. CompareReader gets workDir from filepath.Dir
of the new path. commitsApplicable and compactApplicable already
handle CompareReader correctly without changes.

Also remove stale nolintlint directive in overlay/info.go.

chore: verify acceptance criteria for --compare flag

All acceptance criteria verified: diff between two files, identical-file
empty diff, compact mode with dividers, word-diff, and all mutual-exclusion
error cases. Full test suite passes (make test).

feat: use --compare in planning plugin for plan iteration diffs

After Claude revises an annotated plan, re-opening revdiff now shows
only what changed via --compare=prev:current instead of the full file.
First open uses --only as before. Pass --cleanup to discard the snapshot.

docs: add --compare flag to README, docs, and plugin usage reference

Document the two-file diff mode in all three locations: README (Options table,
Examples, new Two-File Diff section), site/docs.html (options table, examples,
new section), and the Claude plugin usage reference.

fix: address code review findings

- validateCompareFlag: reject --include and --exclude (silently ignored in compare mode)
- main.go: use filepath.Abs before filepath.Dir to avoid "project: ." in info overlay for relative paths
- compare.go: replace pre-allocated make+append slice with composite literal (removes wrong mnd comment)
- compare_test.go: use t.TempDir() paths instead of literal /tmp/ in TestCompareReader_ChangedFiles
- renderer_setup_test.go: add CompareReader case to TestCompactApplicable, --compare case to TestCommitsApplicable
- launch-plan-review.sh: guard PLAN_ABS cd against missing directory so --cleanup survives deleted plan dirs
- CLAUDE.md: document --compar... (continued)
Pull Request #163: feat: `--compare=old:new` — two-file diff for rolling agent reviews

110 of 146 new or added lines in 7 files covered. (75.34%)

27 existing lines in 2 files now uncovered.

9556 of 10671 relevant lines covered (89.55%)

508.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
8.19
-0.37% app/main.go
13
77.59
app/compare.go
6
90.63
app/diff/compare.go

Coverage Regressions

Lines Coverage ∆ File
18
8.19
-0.37% app/main.go
9
89.58
0.34% app/config.go
Jobs
ID Job ID Ran Files Coverage
1 25207079440.1 01 May 2026 07:50AM UTC 69
89.55
GitHub Action Run
Source Files on build 25207079440
  • Tree
  • List 69
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #163
  • PR Base - master (#25206694804)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc