From: Samir Benmendil Date: Wed, 31 Aug 2022 21:30:54 +0000 (+0100) Subject: git: add gpg decrypt filter for diff X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/46a46afa1578c50fe87ba41ea92badddca83ec56?ds=sidebyside git: add gpg decrypt filter for diff This allows setting the gpg filter for pass diffs to be able to view the actual password change in diff views. --- diff --git a/git/config b/git/config index 926e1fb..a759c2e 100644 --- a/git/config +++ b/git/config @@ -11,6 +11,8 @@ recurseSubmodules = check [diff] tool = vimdiff +[diff "gpg"] + textconv = gpg --quiet --decrypt --use-agent [color "diff"] new = cyan bold old = red bold