4 Commits

Author SHA1 Message Date
Austin Horstman
74fbe389cc diff-so-fancy: remove deprecated configuration aliases
The `programs.git.diff-so-fancy` options moved to
`programs.diff-so-fancy` in 25.11, and its individual options such as
`markEmptyLines` and `rulerWidth` moved under
`programs.diff-so-fancy.settings`. 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-so-fancy.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
85cd07b8b0 diff-so-fancy: use freeform settings option
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
16cd8abad6 tests/diff-so-fancy: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00