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

dandavison / delta / 43734319875
66%
master: 59%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 15 Nov 2026 04:18PM UTC
Jobs 1
Files 66
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

15 Nov 2026 04:14PM UTC coverage: 66.067% (+0.3%) from 65.79%
43734319875

push

github

web-flow
Add a TUI based on a fork of gitu  (#2323)

* Add delta --tui: an embedded gitu fork

delta --tui (alias --gitu) runs the delta-gitu fork of gitu with this executable as its diff
renderer.

* Let feature keys start from what the user's config enables now, at any width

delta --tui told gitu once, at startup, which features were in force at the starting width. So a
change to git config during the session was missed. With side-by-side = 140 in a narrower terminal,
S forced side-by-side on instead of disabling the user's rule, and L disabled the line numbers that
side-by-side brings in as a default, which were not in effect, so no press of L changed anything.

Now gitu asks, each time it needs to know, which features the user's config enables. delta reads
the git config again and settles its options as if every minimum width were met, without asking
the terminal anything. It counts only the features the user names (in --features, DELTA_FEATURES,
a flag, a features list, or an option in git config), which it now records as it gathers features,
and not those a builtin feature brings in as defaults.

cargo test test_gitu_is_told

* Test that delta --tui gives gitu the git config delta reads, for gitu to offer themes from

gitu offered themes from git config as it opens it, which can differ from delta's: with
GIT_CONFIG_GLOBAL set, choosing a theme in the picker changed nothing, with no error.

cargo test test_gitu_reads_the_git_config

* Give gitu the git config delta reads, so its theme picker offers only themes delta can find

delta --tui now tells gitu how delta opens git config, shared with GitConfig::try_create. With
GIT_CONFIG_GLOBAL set, delta finds no themes there today, so gitu says none are defined instead of
offering themes that change nothing.

cargo test test_gitu_reads_the_git_config

* delta-gitu v0.1.14

* Document H for the feature list, space to toggle in it, + and - for context, and every feature offered by default

The manual described -... (continued)

73 of 106 new or added lines in 7 files covered. (68.87%)

29 existing lines in 13 files now uncovered.

2792 of 4226 relevant lines covered (66.07%)

1.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
46.81
src/subcommands/gitu.rs
4
62.09
-0.05% src/delta.rs
2
77.27
-0.15% src/git_config/mod.rs
1
93.82
-0.76% src/handlers/diff_header.rs
1
90.55
-0.13% src/options/set.rs

Coverage Regressions

Lines Coverage ∆ File
11
54.78
0.86% src/style.rs
3
83.45
1.49% src/config.rs
2
46.03
-0.74% src/edits.rs
2
33.33
-2.15% src/options/option_value.rs
2
53.06
-0.68% src/utils/process.rs
2
41.11
-0.23% src/wrapping.rs
1
62.09
-0.05% src/delta.rs
1
87.5
0.0% src/env.rs
1
93.82
-0.76% src/handlers/diff_header.rs
1
36.84
-2.05% src/handlers/diff_stat.rs
1
84.38
-2.72% src/handlers/submodule.rs
1
90.55
-0.13% src/options/set.rs
1
52.17
2.17% src/utils/syntect.rs
Jobs
ID Job ID Ran Files Coverage
1 43734319875.1 15 Nov 2026 04:18PM UTC 66
66.07
GitHub Action Run
Source Files on build 43734319875
  • Tree
  • List 66
  • Changed 30
  • Source Changed 0
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 54578752 on github
  • Prev Build on main (#43732751284)
  • Next Build on main (#44087348147)
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