diff options
| author | 2026-04-17 10:53:35 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:53:35 +0100 | |
| commit | fb8a35261c0b8f937894b6df9c467cf6bb3d86c8 (patch) | |
| tree | ba38e2dcaecca5972689a2e80dee137bb7744b4f | |
| parent | 2d1617a1793eee75b54648f83f246e2520e2e059 (diff) | |
| download | dotfiles-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.
| -rw-r--r-- | home/.config/git/config | 4 |
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 |
