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

dandavison / delta / 43305788690
66%
master: 59%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 12 Nov 2026 09:02PM UTC
Jobs 1
Files 65
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

12 Nov 2026 08:59PM UTC coverage: 65.871% (-0.2%) from 66.08%
43305788690

push

github

web-flow
Bug fix: make a style feature in a features list work (#2331)

* Test that a builtin feature named in a features list is in effect

Since #2330, features = raw, color-only, diff-highlight or diff-so-fancy in git config had no
effect: a style feature does not set an option of its own name, so its own option counted as off,
and the feature was left out. In 0.20.1, each gave the same output as its flag.

cargo test a_builtin_feature_named_in_a_features_list

* Leave out a builtin feature only when its own option is set to off, so features = diff-so-fancy works again

#2330 left out a builtin feature whose own option was not on, counting an option that nothing sets
as off. A style feature such as raw, color-only, diff-highlight or diff-so-fancy does not set an
option of its own name, so naming it in a features list in git config had no effect. Now a feature
is left out only when something sets its option to off.

Rendering with every theme in themes.gitconfig, with each switch and style feature set in [delta],
given as a flag, or named in a features list, on three diffs: against #2330, only the 240 cases
that name a style feature in a features list differ; against 0.20.1, those 240 are the same again.

cargo test a_builtin_feature_named_in_a_features_list

* Test every builtin feature against every way of turning it on and off, in two tables

Bugs in how features combine came from the ways of turning a feature on and off that no test
covered, such as a style feature named in a features list. One table turns each of the nine builtin
features on in each of six ways (its flag, an option in [delta], --features, DELTA_FEATURES, a
features list in git config, and an option in a feature of the user's) and checks that each gives
what the flag gives. The other turns each on in each of the three ways git config has, and off in
each way that applies (its flag with =false, -name in DELTA_FEATURES, an option in [delta], and a
later feature of the user's), and checks t... (continued)

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

38 existing lines in 20 files now uncovered.

2706 of 4108 relevant lines covered (65.87%)

1.77 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
43.65
-2.75% src/edits.rs
4
67.44
-9.3% src/options/get.rs
4
34.38
-5.63% src/options/option_value.rs
4
55.1
-1.06% src/utils/process.rs
2
49.7
0.01% src/features/side_by_side.rs
2
71.68
0.0% src/handlers/grep.rs
2
53.32
-0.24% src/paint.rs
2
84.96
-0.64% src/parse_styles.rs
2
47.83
-2.17% src/utils/syntect.rs
2
41.73
0.0% src/wrapping.rs
1
37.97
-1.27% src/align.rs
1
53.23
-1.61% src/cli.rs
1
51.16
2.38% src/color.rs
1
62.86
-0.71% src/delta.rs
1
53.85
7.69% src/format.rs
1
80.0
0.37% src/git_config/mod.rs
1
70.0
-0.91% src/handlers/blame.rs
1
96.23
-0.89% src/handlers/hunk_header.rs
1
53.92
0.46% src/style.rs
1
67.74
-3.23% src/utils/path.rs
Jobs
ID Job ID Ran Files Coverage
1 43305788690.1 12 Nov 2026 09:02PM UTC 65
65.87
GitHub Action Run
Source Files on build 43305788690
  • Tree
  • List 65
  • Changed 33
  • Source Changed 0
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 07c8aa6e on github
  • Prev Build on main (#43272662418)
  • Next Build on main (#43465786498)
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