From 042206af74eae4b55c96e3a2e25764bccb800f22 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 13 Dec 2020 15:40:04 -0500 Subject: Let git show diffs for gpg files --- .gitattributes | 2 ++ .gitconfig | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d22bce5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.gpg filter=gpg diff=gpg +*.asc filter=gpg diff=gpg diff --git a/.gitconfig b/.gitconfig index 3af1f46..bead2ea 100644 --- a/.gitconfig +++ b/.gitconfig @@ -36,3 +36,5 @@ [diff] mnemonicPrefix = true algorithm = histogram +[diff "gpg"] + textconv = gpg --no-tty --decrypt -- cgit v1.2.3