aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:35 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:35 +0100
commitfb8a35261c0b8f937894b6df9c467cf6bb3d86c8 (patch)
treeba38e2dcaecca5972689a2e80dee137bb7744b4f /home
parent2d1617a1793eee75b54648f83f246e2520e2e059 (diff)
downloaddotfiles-fb8a35261c0b8f937894b6df9c467cf6bb3d86c8.tar.gz
dotfiles-fb8a35261c0b8f937894b6df9c467cf6bb3d86c8.tar.bz2
dotfiles-fb8a35261c0b8f937894b6df9c467cf6bb3d86c8.zip
fix: remove invalid whitespace value and enable histogram diff
- Remove 'fix' from core.whitespace — it's an apply.whitespace action, not a valid whitespace type. Was silently ignored. - Uncomment diff.algorithm = histogram — produces better diffs than the default myers algorithm, especially for moved code blocks.
Diffstat (limited to 'home')
-rw-r--r--home/.config/git/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/.config/git/config b/home/.config/git/config
index 58708fd..2ac3b50 100644
--- a/home/.config/git/config
+++ b/home/.config/git/config
@@ -7,14 +7,14 @@
followTags = true
gpgSign = if-asked
[core]
- whitespace = fix,trailing-space,cr-at-eol
+ whitespace = trailing-space,cr-at-eol
autocrlf = input
pager = delta
[branch]
sort=-committerdate
[diff]
tool = nvimdiff
- # algorithm = histogram
+ algorithm = histogram
colorMoved = default
mnemonicPrefix = true
relative = true