From 9449b7fecdf74a6f1175b37239c21a822203b9a1 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 9 Feb 2023 13:17:32 +0100 Subject: [PATCH] git:glog: Respect file arguments when previewing When file arguments were passes behind `--`, show only these files in the patch preview. This mimics the behaviour of `git log -up -- `. The full patch can still be displayed with ctrl-p. --- .config/zsh/autoload/git/glog | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.config/zsh/autoload/git/glog b/.config/zsh/autoload/git/glog index 4ff65d7..b23fd62 100755 --- a/.config/zsh/autoload/git/glog +++ b/.config/zsh/autoload/git/glog @@ -56,9 +56,16 @@ read -r -d '' <