583
diff tools cannot handle moving code blocks
(lemmy.ca)
Post funny things about programming here! (Or just rant about your favourite programming language.)
https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---color-movedltmodegt
https://medium.com/pragmatic-programmers/git-config-diff-colormoved-8e2f24af6645
That's awesome. I wonder how it'd handle moving plus a small change.
Too bad GitHub doesn't support it yet afaict. But at least it's not all diff tools.