mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Teach git diff about sops files
This commit is contained in:
parent
6803b2cc53
commit
62130cf13e
2 changed files with 5 additions and 0 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
*.yaml diff=sopsdiffer
|
||||||
|
|
||||||
|
|
@ -97,6 +97,9 @@ in {
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
diff-so-fancy.enable = true;
|
diff-so-fancy.enable = true;
|
||||||
|
extraConfig = {
|
||||||
|
diff.sopsdiffer.textconv = "sops --config /dev/null --decrypt";
|
||||||
|
};
|
||||||
ignores = [
|
ignores = [
|
||||||
"*~"
|
"*~"
|
||||||
"*.swp"
|
"*.swp"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue