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

dandavison / delta / 42509340494
66%
master: 59%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 08 Nov 2026 06:21PM 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

08 Nov 2026 06:18PM UTC coverage: 65.931% (+0.2%) from 65.779%
42509340494

push

github

web-flow
feat: Adds min-width parameter to enable toggling of side-by-side based on terminal width (#2084)

* feat: Adds side-by-side-min-width option to enable toggling of
side-by-side feature based on the terminal width. By default it's 0 (ie
disabled).

Fixes #2083

* feat: Extends --side-by-side to support =<number> parameter to set the minimum width to enable side-by-side; by default it's 0 if enabled (ie true)

Signed-off-by: Alejandro Saucedo <alejandro.saucedo@zalando.de>

* feat: Extends --side-by-side to support =<number> parameter to set the minimum width to enable side-by-side; by default it's 0 if enabled (ie true)

Signed-off-by: Alejandro Saucedo <alejandro.saucedo@zalando.de>

* feat: Extends --side-by-side to support =<number> parameter to set the minimum width to enable side-by-side; by default it's 0 if enabled (ie true)

Signed-off-by: Alejandro Saucedo <alejandro.saucedo@zalando.de>

* test: Add missing test coverage for side-by-side min-width feature

- Rename misleading test_side_by_side_numeric_from_git_config_activates_line_numbers
  to test_side_by_side_true_from_git_config_activates_line_numbers (it uses 'true', not a number)
- Add test_side_by_side_numeric_value_from_git_config_activates_line_numbers (side-by-side = 10)
- Add test_side_by_side_zero_from_git_config_disables (side-by-side = 0)
- Add test_side_by_side_min_width_enables_sbs_when_terminal_wide (--side-by-side=1)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* refactor: Consolidate side_by_side_enabled to use parse_side_by_side

Eliminate duplicated match logic by delegating to parse_side_by_side().0.
This ensures both functions stay in sync and invalid values are caught
early (fail-fast during feature gathering).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* docs: Document side-by-side min-width terminal width feature

Add documentation for the new optional min-width argument to --side-by-side
that enables side-by-side ... (continued)

29 of 32 new or added lines in 4 files covered. (90.63%)

17 existing lines in 10 files now uncovered.

2628 of 3986 relevant lines covered (65.93%)

1.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
31.25
-4.46% src/options/option_value.rs

Coverage Regressions

Lines Coverage ∆ File
3
54.81
-1.63% src/format.rs
3
77.59
-2.01% src/git_config/mod.rs
2
70.91
-1.57% src/handlers/blame.rs
2
31.25
-4.46% src/options/option_value.rs
2
50.0
0.0% src/utils/syntect.rs
1
76.04
-0.25% src/ansi/mod.rs
1
46.4
-0.8% src/edits.rs
1
81.25
-0.38% src/features/diff_line_metadata.rs
1
90.0
-3.1% src/git_config/remote.rs
1
71.68
0.58% src/handlers/grep.rs
Jobs
ID Job ID Ran Files Coverage
1 42509340494.1 08 Nov 2026 06:21PM UTC 65
65.93
GitHub Action Run
Source Files on build 42509340494
  • Tree
  • List 65
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3a54e767 on github
  • Prev Build on main (#37245832850)
  • Next Build on main (#42514876394)
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