Skip to content

Commit dd3ce73

Browse files
authored
Add git diff driver for gpg-encrypted files (#558)
1 parent a881783 commit dd3ce73

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

git/.gitconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
mnemonicprefix = true
3030
renames = copies
3131
submodule = log
32+
[diff "gpg"]
33+
binary = true
34+
textconv = gpg -d --quiet --yes --compress-algo=none --no-encrypt-to --batch --use-agent
3235
[init]
3336
defaultBranch = main
3437
[merge]

scripts/check-line-length.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -o pipefail
66
find=(
77
find .
88
-name .git -prune -o
9+
-name .gitconfig -o
910
-name "*.elc" -o
1011
-type f -print
1112
)

0 commit comments

Comments
 (0)