2 ms·
I am just thinking, why not solve this at the scm level, e.g. make a git plugin that will check out the sources indentation independent and only show changes to
by ma2rten 13y ago
I am just thinking, why not solve this at the scm level, e.g. make a git plugin that will check out the sources indentation independent and only show changes to contents of the file not the indentation.
You could even make a plugin that works without collaboration by others: check out the file in your preferred style and transform the changes back into the original style.
- mikeash 13y agoI totally agree. I seem to recall an experimental clang-based git plugin for this floating around. I think it even handled certain differences in naming convention. We'll probably get there in a few more years, as we get comfortable with adding more power to these systems, and taking advantage of compiler technology for things other than generating code.