From fc7aad6c1e2225e984fcf4c331d0abb6759e506d Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 7 Mar 2024 11:51:54 +0100 Subject: [PATCH] git: Set `diff.colorMovedWS` to `ignore-all-space` In addition to `diff.colorMoved` this controls how whitespace changes should affect the detection of moved lines. --- .config/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/git/config b/.config/git/config index cac2e62..9751082 100644 --- a/.config/git/config +++ b/.config/git/config @@ -53,6 +53,7 @@ [diff] # Color moved lines differently colorMoved = default + colorMovedWS = ignore-all-space # No rename limit, propagates to merge. and status.renameLimit too renameLimit = 0