4 Commits

Author SHA1 Message Date
Austin Horstman
cc366fd6b4 diff-highlight: remove deprecated programs.git.diff-highlight aliases
The `programs.git.diff-highlight` options moved to
`programs.diff-highlight` in 25.11. Setting the old `enable` option also
turned on Git integration automatically, with a warning asking users to
set it explicitly.

Remove the aliases and that automatic enablement ahead of the 26.11
release. Set `programs.diff-highlight.enableGitIntegration = true` to
keep the Git pager configuration.

Setting a removed option now fails with an error that explains what
to do instead.
2026-10-15 12:32:55 -05:00
Ihar Hrachyshka
3c7524c683 treewide: set git pager for specific commands, not for core.pager
Setting `core.pager` may result in issues like swallowed `git grep` results. 
To avoid this, apply pagers to specific commands where we expect `diff`-ish output only. 
Use a common helper to set pager for all modules that configure it.
2026-04-14 11:31:44 -05:00
Austin Horstman
27a6182347 tests/diff-highlight: add null assertion test
Verify eval when setting git package to null.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-12-05 23:18:20 -06:00
Austin Horstman
486487b5e9 tests/diff-highlight: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00