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

umputun / revdiff / 24852165736
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 23 Apr 2026 06:34PM UTC
Jobs 1
Files 59
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 06:30PM UTC coverage: 89.349% (-0.2%) from 89.581%
24852165736

Pull #146

github

umputun
fix(diff): address code review findings for divider work

- git totalOldLines: check "..." before ".." in ref splitting so A...B
  takes left operand A (not "A" + ".B"). triple-dot ranges still show
  the left operand of the range rather than merge-base, which is
  approximate but matches hg/jj behavior.
- gate totalOldLines subprocess behind compact mode in all VCS impls;
  full-file mode always reaches EOF so the trailing-divider probe was
  a wasted subprocess (~2× process launches per FileDiff call).
- extract countLines helper (called from 3 VCS totalOldLines methods).
- update ChangeDivider constant + DiffLine.Content godoc with new
  "⋯ N line[s] ⋯" format and pattern-match warning.
- unify hg/jj totalOldLines godoc with git's bullet format.
- clean up stale contradictory comments in TestParseUnifiedDiff_TrailingDivider.
- add TestGit_TotalOldLines (8 ref-resolution cases, locks in triple-dot fix).
- 3 new TestParseUnifiedDiff_TrailingDivider cases: insertion-only last
  hunk, deleted file, exact boundary.
- CLAUDE.md: extend Compact mode gotcha with divider-position details and
  add gotcha warning against pattern-matching DiffLine.Content on dividers.

Related to #145
Pull Request #146: feat(diff): line-count labels on compact-mode dividers (⋯ N lines ⋯)

70 of 102 new or added lines in 3 files covered. (68.63%)

9 existing lines in 1 file now uncovered.

8246 of 9229 relevant lines covered (89.35%)

454.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
72.73
-7.27% app/diff/jj.go
6
90.72
-2.34% app/diff/hg.go
2
92.14
0.49% app/diff/diff.go

Coverage Regressions

Lines Coverage ∆ File
9
92.14
0.49% app/diff/diff.go
Jobs
ID Job ID Ran Files Coverage
1 24852165736.1 23 Apr 2026 06:34PM UTC 59
89.35
GitHub Action Run
Source Files on build 24852165736
  • Tree
  • List 59
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #146
  • PR Base - master (#24826206221)
  • 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