wfxr.forgit/tests
Wenxuan f7e2d436de
fix: use non-interactive pager in fzf preview for TUI pagers (#498)
When users configure a TUI/interactive diff pager (e.g., diffnav, tig)
via `git config pager.diff`, fzf preview panes show blank output because
TUI pagers require a TTY that fzf previews don't provide.

Add FORGIT_PREVIEW_PAGER env var that overrides the diff pager only in
fzf preview context. Preview detection relies on a FORGIT_IN_PREVIEW
marker set by a new `_forgit_preview` wrapper, so the override applies
only to preview commands and leaves fullscreen behavior unchanged.

Fixes #491
2026-03-14 10:38:44 +08:00
..
branch-helpers.test.sh feat: add interactive git worktree operations 2026-03-10 09:20:16 +08:00
clean-select-files.test.sh Meta: update bashunit helper functions due to breaking change (#480) 2025-12-08 20:12:34 +01:00
empty-state.test.sh refactor: extract _forgit_print_dim helper and improve worktree ops 2026-03-10 09:20:16 +08:00
fzf.test.sh Meta: update bashunit helper functions due to breaking change (#480) 2025-12-08 20:12:34 +01:00
helper-functions.test.sh Meta: update bashunit helper functions due to breaking change (#480) 2025-12-08 20:12:34 +01:00
is-submodule.test.sh fix: forgit add shows dir view for submodules (#484) 2025-12-21 20:45:56 +01:00
preview-context.test.sh fix: use non-interactive pager in fzf preview for TUI pagers (#498) 2026-03-14 10:38:44 +08:00