From 46a46afa1578c50fe87ba41ea92badddca83ec56 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 31 Aug 2022 22:30:54 +0100 Subject: [PATCH] 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. --- git/config | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.48.1