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

umputun / revdiff / 46170939302
92%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2026 05:33PM UTC
Jobs 1
Files 82
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

28 Nov 2026 05:31PM UTC coverage: 92.087% (+0.004%) from 92.083%
46170939302

push

github

web-flow
fix(diff): report jj renames as one renamed entry (#464)

in a jj repo a rename showed up in the file tree as two entries: `D old` with its whole content removed, and `A new` whose diff was actually a modification. The extra deletion inflated the review's removed-line count, and the header omitted the original path.

jj reports the rename itself (`R d/{old.txt => new.txt}` in `jj diff --summary`), and `(*Jj).parseSummary` split it into a delete and an add. It now emits one `FileEntry{Status: FileRenamed, Path: new, OldPath: old}`, the same shape git already produces, so the tree, header, review stats and annotations preloader handle jj renames without changes. `jj diff` on the new path already returns the rename diff, so `(*Jj).FileDiff` reads `OldPath` only for the compact-mode line count behind the trailing divider.

the rename parser also broke on moves that change directory depth. For those jj prints a path with an empty brace side (`d/{ => sub}/x.txt`), the brace pattern required both sides, and the fallback produced paths like `d/{` and `sub}/x.txt`. Empty sides now resolve to `d/x.txt` and `d/sub/x.txt`.

copy lines (`C {src => dst}`) are still not parsed, since jj 0.44 and 0.47 on the git backend did not produce one.

Fixed #463

13 of 13 new or added lines in 1 file covered. (100.0%)

12463 of 13534 relevant lines covered (92.09%)

3463.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46170939302.1 28 Nov 2026 05:33PM UTC 82
92.09
GitHub Action Run
Source Files on build 46170939302
  • Tree
  • List 82
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 41f9fbef on github
  • Prev Build on master (#45568194969)
  • Next Build on master (#46174276088)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc