| ▲ | carlmr 4 days ago | |||||||
While true, this is one reason I always introduce automated code-formatting early on. It makes git blame a bit more useful. | ||||||||
| ▲ | chrismorgan 3 days ago | parent [-] | |||||||
Automated code formatting, in my experience, never decreases diff sizes, and frequently increases them. Some of those diff size increases support git-blame, some of them hinder it. Around the boundary between two possible formattings, they’re terrible. Code formatters do tend to force some patterns that may make the line-oriented git-blame more useful such as splitting function calls into many lines, with a single argument on each line; yet that’s not about the code formatter, just the convention. (And the automatic formatters choose it because they have no taste, which is necessary to make other styles consistently good. If you have taste, you can do better than that style, sometimes far better.) | ||||||||
| ||||||||