Highlights from Git 2.19
blog.github.com
blog.github.com
Is git range-diff and different than git log --patch A..B (or is it 3 dots?)?
Most importantly: Directory rename detection!
This is a huge help especially in the earlier stages of a project where I can't seem to settle on package names. And add the that the horribly deep directory hierarchies that come with Java src/main/com/company/team/product/factories/impl etc etc.
So it's a bit like comparing two separate git log --patch outputs for differences/similarities, and it does it in a semantic way (it knows the difference between commit messages, content changes, etc.). The log --patch would just give you every commit that differs at all from either branch, and all their changes.
I could see this being a very common part of my workflow potentially. Off the top of my head I think I'll be using it to verify that a rebase -i did the actual changes that I meant it to, and no more.
(just for clarity: two dots, git log --patch A..B, would just give you the log of commits with changes in that single range, three dots does the same for commits in either A or B but not both)
Ha someone should make a logical git CLI.