diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2025-02-28 14:33:48 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2025-02-28 14:33:48 +0100 |
commit | 89613f8331b47458c8bd386cf093a717d693c664 (patch) | |
tree | 8b4c0909bb8f67c3aecb1b1283267a590a593b3e | |
parent | 4bc67ab87d5e8cfd8c60d2469af8706f829c4166 (diff) |
Better diff algorithm, show code movement in different color and detect
renames.
Mostly taken from https://blog.gitbutler.com/how-git-core-devs-configure-git/
Thanks to Quentin for the link.
-rw-r--r-- | .gitconfig | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -49,6 +49,11 @@ whitespace = red reverse [commit] gpgsign = true +[diff] + renamelimit = 0 + algorithm = histogram + colorMoved = plain + renames = true [fetch] prune = true [push] |