5 ms·
git diff -C can show rearrangements and renames.
by 0db532a0 8y ago
git diff -C can show rearrangements and renames.
- the8472 8y agoit still pollutes the git blame, doesn't help with web views of code repos and causes more merge/rebase conflicts. the sorting causes more problems than its very questionable worth.
- 0db532a0 8y agoSetting the git diff algorithm to patience or histogram would probably solve a lot of the merge issues. You’re right on the web views. It would be nice if they respected the algorithm setting from the git config.
- the8472 8y agoIn my experience the diff algorithms do nothing when one person moves the function and another edits it. The algos just fiddle around the margins of diff hunks.