From fb8a35261c0b8f937894b6df9c467cf6bb3d86c8 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 10:53:35 +0100 Subject: fix: remove invalid whitespace value and enable histogram diff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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. --- home/.config/git/config | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2