3 ms·
VCS diffs are broken by design (in a sense of this subthread). Remove a single “if” around a block of code, reindent it, and now you got all lines changed. I wi
by wruza 8y ago
VCS diffs are broken by design (in a sense of this subthread). Remove a single “if” around a block of code, reindent it, and now you got all lines changed. I wish VCS had special modes for source code that would compare lextoken-wise and show only what actually changed, leaving formatting to personal tastes. Yeah, no more style wars: tab/space, space/newline/none, trailing comma – all become irrelevant. Sigh.
Edit: a worst nightmare is a diff that removed “if” and also fixed a mistype in one of 20 reindented lines.