The rule of allowing style changes when about 50% or more of a file (or
group of files), coupled with the advice of avoiding stylistic changes,
could be interpreted as forbidding most style changes, even in heavily
modified functions.
In order to rule out that interpretation and ease transition towards our
prescribed style:
- Clarify that avoiding stylistic changes concerns only "standalone" ones.
- Actually encourage changing the style, and extend the cases where it is explicitly allowed to do so to any single logical unit as little as a function, keeping the existing ~50% of modified code as a rule of thumb.
When point 2 above applies, encourage to commit pure style changes
separately, and to add style-only commits to '.git-blame-ignore-revs'.
While here, regroup the paragraphs talking about style.
While here, rephrase the requirement on third-party maintained code to
be slightly less stringent.