Is there a way to make Git indent / beautify / pretty print two versions of C ++ source files before distinguishing them?
I think my goal is obvious: I do not want Git to show me a lot of changes made by some kind of stupid environment after some monkey (like me) got into automatic format.
Usage example: I git difftool --indent-before-diffing path/to/file and get the changes after the original version of path/to/file and the modified version of path/to/file were indented.
c ++ git pretty-print indentation
Hinton May 03 '13 at 11:00 2013-05-03 11:00
source share