3 ms·
for example, it creates git blame/git diff noise when reformatting due to having to update alignment on a bunch of other lines just because you introduced a var
by piaste 10y ago
for example, it creates git blame/git diff noise when reformatting due to having to update alignment on a bunch of other lines just because you introduced a variable one character longer than the others.
If you're working with git on a non-whitespace-sensitive language, and this annoys you, you can use the --ignore-space-change option to avoid this.
- Stratoscope 10y agoThat is certainly true! But the problem is I don't want to ignore whitespace changes when I review my diffs. If I do that, I'm very likely to introduce inadvertent whitespace changes that will annoy everyone I work with. :-)