Hacker News new | ask | show | jobs
by Izkata 441 days ago
> I just wish they'd extend git to have better binary file diffs

It's not built-in to git itself, but I remember seeing demos where git could be configured to use an external tool to do a visual diff any time git tried to show a diff of image files.

> and moved file tracking.

Check out -C and -M in the help for git log and blame. Git's move tracking is a bit weirder than others (it reconstructs moves/copies from history rather than recording them at commit), but I've found it more powerful than others because you don't need to remember a special "move" or "copy" command, plus it can track combining two files in a way others can't.

1 comments

It demonstrably can't detect all moves, Torvalds' theory that you didn't need moves tracking was bulls*it.