From d0e2f27569c84e7a86dc7602e56f4927362e59bd Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 6 Jun 2023 15:51:03 +0200 Subject: [PATCH] Add jsonfmt filter Signed-off-by: Knut Ahlers --- .gitconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitconfig b/.gitconfig index 9f9427a..6068cae 100644 --- a/.gitconfig +++ b/.gitconfig @@ -30,6 +30,10 @@ warnAmbiguousRefs = false [diff] renames = true +[filter "jsonfmt"] +clean = jq -S . %f +smudge = cat %f + [filter "lfs"] process = git-lfs filter-process required = true