From 78a7b0d8094f79d71771a398c3258b5cc55b96b7 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 9 Feb 2023 13:22:19 +0100 Subject: [PATCH] git:glog:TODO: Depend preview function on `--stat` --- .config/zsh/autoload/git/glog | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/zsh/autoload/git/glog b/.config/zsh/autoload/git/glog index 64365c9..c7d9e0f 100755 --- a/.config/zsh/autoload/git/glog +++ b/.config/zsh/autoload/git/glog @@ -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"