From cff2dc488d1eaec75ac5a7ab5219a7d4f743188e Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 20 Aug 2020 11:13:06 +1000 Subject: [PATCH] Teach Git how to diff GPG-encrypted files, like my password store --- config/git/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/git/config b/config/git/config index 888b0d4..216db13 100644 --- a/config/git/config +++ b/config/git/config @@ -43,6 +43,10 @@ [diff] colorMoved = true +[diff "gpg"] + binary = true + textconv = "gpg -qd --no-tty" + [dude] icon = ~/.config/git-dude/icon.png