zsh:glog: Show also commit stats in preview
This commit is contained in:
@@ -48,7 +48,7 @@ read -r -d '' <<EOT
|
|||||||
EOT
|
EOT
|
||||||
fzf_preview[construct]="$REPLY"
|
fzf_preview[construct]="$REPLY"
|
||||||
read -r -d '' <<EOT
|
read -r -d '' <<EOT
|
||||||
git show "${(j:%n:)format}" "$date" --color=always "\$out" \
|
git show "${(j:%n:)format}" "$date" --color=always --patch-with-stat "\$out" \
|
||||||
| diff-so-fancy --color=always
|
| diff-so-fancy --color=always
|
||||||
EOT
|
EOT
|
||||||
fzf_preview[patch]="$fzf_preview[construct] { $REPLY }"
|
fzf_preview[patch]="$fzf_preview[construct] { $REPLY }"
|
||||||
|
|||||||
Reference in New Issue
Block a user