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

dandavison / delta / 46323867059
66%
master: 59%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 29 Nov 2026 11:37PM 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

29 Nov 2026 11:32PM UTC coverage: 65.942% (+0.5%) from 65.447%
46323867059

push

github

web-flow
Preserve format-patch signature separators outside completed hunks (#2249)

* Fix format-patch signature separator highlighting

* Count hunk lines where each hunk line is handled, and use simpler tests

This makes the branch identical to an independent implementation of the fix,
to compare with the original.

* Show format-patch signature lines unchanged, and stop counting when a hunk does not match its header

After the "-- " separator, the signature is no longer handled as part of the
hunk, so signature lines that look like hunk lines are shown unchanged. When a
hunk has more lines than its header says, or a line that is not a hunk line,
its lines are no longer counted, so a later "-- " removed line is not taken for
the separator.

Co-authored-by: Peder Bergan <pederbe@users.noreply.github.com>

* Recognize the format-patch signature separator from the line after it, instead of counting hunk lines

A removed "-- " line followed by a line that is not a hunk line is the
signature separator. This replaces counting the lines of every hunk with a
check in one place.

---------

Co-authored-by: Dan Davison <dandavison7@gmail.com>

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

22 existing lines in 12 files now uncovered.

2910 of 4413 relevant lines covered (65.94%)

1.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
51.53
0.59% src/features/side_by_side.rs
3
93.44
-1.56% src/handlers/diff_header.rs
3
37.5
-2.5% src/options/option_value.rs
2
75.26
-1.34% src/ansi/mod.rs
2
46.34
-7.15% src/color.rs
2
90.72
-1.5% src/handlers/hunk.rs
2
41.57
0.0% src/wrapping.rs
1
60.78
-0.65% src/delta.rs
1
85.29
1.24% src/features/diff_line_metadata.rs
1
43.51
-0.76% src/features/line_numbers.rs
1
67.74
-3.23% src/utils/path.rs
1
54.05
0.99% src/utils/process.rs
Jobs
ID Job ID Ran Files Coverage
1 46323867059.1 29 Nov 2026 11:37PM UTC 69
65.94
GitHub Action Run
Source Files on build 46323867059
  • Tree
  • List 69
  • Changed 27
  • Source Changed 0
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f3befc7e on github
  • Prev Build on main (#46314138154)
  • Next Build on main (#46455027750)
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