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

umputun / revdiff / 24853784489
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 23 Apr 2026 07:10PM UTC
Jobs 1
Files 60
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

23 Apr 2026 07:09PM UTC coverage: 89.656% (+0.3%) from 89.355%
24853784489

Pull #147

github

umputun
fix: address Copilot review findings on vim-motion preset

- center/top/bottom viewport align helpers now SetContent before SetYOffset,
  matching syncViewportToCursor. viewport.SetYOffset clamps to current content
  length; rendering first avoids mis-clamping when the cursor move mutated
  render height (wrap/annotation rows).
- jumpToLineN nudges off ChangeDivider rows after clamping. With the trailing
  divider feature shipped on master, G/NG could land the cursor on a divider
  row where no action applies. Now the cursor slides back (then forward) to
  the nearest non-divider line.
- fix REVDIFF_VIM_MOTION env var name in CLAUDE.md and the completed plan
  file — the actual go-flags tag in app/config.go is REVDIFF_VIM_MOTION to
  match the revdiff env-var convention.
- repeatDiffAction precomputes hunks once and delegates to new
  moveDiffCursorDownWithHunks / moveDiffCursorUpWithHunks variants, avoiding
  the O(N × len(diff)) rescan that would hang the UI on large counts
  (e.g. 9999j on a 10000-line diff).

Addresses Copilot inline findings on #147.
Pull Request #147: feat: vim-motion preset (--vim-motion, off by default)

177 of 188 new or added lines in 9 files covered. (94.15%)

30 existing lines in 2 files now uncovered.

8347 of 9310 relevant lines covered (89.66%)

558.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
93.86
-1.24% app/ui/diffnav.go
2
97.75
app/ui/vimmotion.go
1
9.64
-0.05% app/main.go

Coverage Regressions

Lines Coverage ∆ File
20
91.64
-0.59% app/diff/diff.go
10
80.0
7.27% app/diff/jj.go
Jobs
ID Job ID Ran Files Coverage
1 24853784489.1 23 Apr 2026 07:10PM UTC 60
89.66
GitHub Action Run
Source Files on build 24853784489
  • Tree
  • List 60
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #147
  • PR Base - master (#24852781334)
  • 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