git:glog:TODO: Depend preview function on --stat

This commit is contained in:
2023-02-09 13:22:19 +01:00
parent 8baaaf0e94
commit 78a7b0d809

View File

@@ -104,6 +104,11 @@ local -A binds=(
"ctrl-d" "half-page-down"
"ctrl-u" "half-page-up"
)
# TODO: Make the --preview argument dependent of --stat flag (i.e.
# fzf_preview[stat] in this case). It does not really make sense to pass
# it to `git log` but can be an indicator for the preview function
local -a fzf_args=(
# Understand ansi color escape sequences.
"--ansi"