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

umputun / revdiff
91%

Build:
DEFAULT BRANCH: master
Repo Added 01 Apr 2026 08:15AM UTC
Token zpy25XdTlXkHx5U3syYGatR9U5X0sk8oe regen
Build 226 Last
Files 19
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • add-collapsed-flag
  • all-files-mode
  • annotation-list-popup
  • collapsed-diff-mode
  • custom-keybindings
  • diff-search
  • discard-quit
  • feat/cmux-support
  • feat/launch-script-improvements
  • feat/toggle-tree-pane
  • feature/binary-file-detection
  • feature/range-hunk-annotations
  • fix-ctrl-du-half-page
  • fix-file-annotation-bugs
  • fix-tmux-title-compat
  • fix-wrap-right-padding
  • fix/ghostty-improvements
  • fix/overlay-path-inheritance
  • fix/subdirectory-support
  • iterm2-osascript
  • line-numbers
  • markdown-toc-navigation
  • master
  • only-filter
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.10.0
  • refs/tags/v0.11.0
  • refs/tags/v0.12.0
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.2.3
  • refs/tags/v0.2.4
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.4.1
  • refs/tags/v0.4.2
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.8.0
  • refs/tags/v0.9.0
  • review-findings
  • single-file-mode
  • status-bar-line-number
  • status-line-help-overlay
  • theme-support
  • two-ref-diff
  • word-wrap
  • worktree-no-git-file-review

06 Apr 2026 11:14PM UTC coverage: 91.116% (-0.05%) from 91.169%
24055872851

push

github

web-flow
Detect binary files in diff with size delta and IsBinary flag (#44)

* Detect binary files in diff and show placeholder with file size delta

Binary files in git diffs previously showed as blank (no content) because
ParseUnifiedDiff never found hunk headers for them. Now detects git's
"Binary files ... differ" marker and returns a placeholder enriched with
size info from git diff --stat (e.g. "(binary file: 1.0 KB → 2.0 KB)").

* Add IsBinary field and header-based new/deleted detection for binary diffs

Replace fragile string comparison (Content == BinaryPlaceholder) with an
explicit IsBinary bool on DiffLine. ParseUnifiedDiff now tracks "new file
mode" / "deleted file mode" from diff headers so the placeholder content
is correct even when git diff --stat fails (e.g. non-English locale).
Also clarifies locale assumptions in binaryStatRe and binaryFilesRe
comments and uses binaryChangeKind for accurate create/delete detection
when stat parsing succeeds.

* Refine binary diff helpers

79 of 89 new or added lines in 2 files covered. (88.76%)

4154 of 4559 relevant lines covered (91.12%)

460.74 hits per line

Relevant lines Covered
Build:
Build:
4559 RELEVANT LINES 4154 COVERED LINES
460.74 HITS PER LINE
Source Files on master
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24055872851 master Detect binary files in diff with size delta and IsBinary flag (#44) * Detect binary files in diff and show placeholder with file size delta Binary files in git diffs previously showed as blank (no content) because ParseUnifiedDiff never found hu... push 06 Apr 2026 11:15PM UTC web-flow github
91.12
24055813812 master fix: add right padding to prevent wrapped text from touching pane border (#45) * fix: add right padding to prevent wrapped text from touching pane border * fix: remove duplicate right padding in extendLineBg diffContentWidth() now includes righ... push 06 Apr 2026 11:13PM UTC web-flow github
91.17
24055762233 fix-wrap-right-padding fix: remove duplicate right padding in extendLineBg diffContentWidth() now includes right padding, so extendLineBg's extra targetWidth-- was creating 2 chars of gap for add/remove lines. Pull #45 06 Apr 2026 11:11PM UTC umputun github
91.17
24055660861 feature/binary-file-detection Refine binary diff helpers Pull #44 06 Apr 2026 11:08PM UTC melonamin github
91.12
24055553215 fix-wrap-right-padding fix: add right padding to prevent wrapped text from touching pane border Pull #45 06 Apr 2026 11:05PM UTC umputun github
91.17
24053944355 feature/binary-file-detection Add IsBinary field and header-based new/deleted detection for binary diffs Replace fragile string comparison (Content == BinaryPlaceholder) with an explicit IsBinary bool on DiffLine. ParseUnifiedDiff now tracks "new file mode" / "deleted file mo... Pull #44 06 Apr 2026 10:17PM UTC melonamin github
91.05
24053571982 feature/range-hunk-annotations docs: align range-hunk-annotations plan with implementation Drop SelectionHighlight background items (gutter indicator used instead), correct hunk single-line detection description, add Task 8 for post-review bug fixes. Pull #43 06 Apr 2026 10:07PM UTC melonamin github
91.09
24053378273 feature/range-hunk-annotations Fix range mapping across hunk boundaries and dual annotation sub-row navigation visibleRangeIndices now breaks at ChangeDivider once a range has started, preventing line-number aliasing from leaking ranges into adjacent hunks. Add cursorOnRangeA... Pull #43 06 Apr 2026 10:02PM UTC melonamin github
91.09
24051671116 master fix(site): center terminal cards in two rows, bump version to 0.12.0 push 06 Apr 2026 09:17PM UTC umputun github
91.17
24051474983 refs/tags/v0.12.0 docs: update changelog for v0.12.0 push 06 Apr 2026 09:12PM UTC umputun github
91.17
See All Builds (192)

Badge your Repo: revdiff

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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