From 17ac8cd3fd8e55db58fdfa422338617021e319f8 Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Tue, 13 Aug 2024 00:41:42 -0300 Subject: [PATCH] radio: files: git: Configure git diff --- home-environments/radio/files/.config/git/config | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/home-environments/radio/files/.config/git/config b/home-environments/radio/files/.config/git/config index 6b7db66..323e082 100644 --- a/home-environments/radio/files/.config/git/config +++ b/home-environments/radio/files/.config/git/config @@ -4,8 +4,21 @@ signingkey = F164709E5FC7B32BAEC79F371F2E76ACE3F531C8 [color] ui = true +[color "diff-highlight"] + oldNormal = red bold + oldHighlight = red bold 52 + newNormal = green bold + newHighlight = green bold 22 +[color "diff"] + meta = yellow + frag = magenta bold + commit = yellow bold + old = red bold + new = green bold + whitespace = red reverse [core] editor = kak + pager = diff-so-fancy | less --tabs=4 -RFX [filter "lfs"] required = true clean = git-lfs clean -- %f @@ -25,3 +38,5 @@ helper = cache [commit] gpgsign = true +[interactive] + diffFilter = diff-so-fancy --patch