[vcs] IDEA-22963 Reformat only changed lines before commit.

Mixing unrelated reformat changes with other significant changes in a
single commit is an example of bad style, therefore it is reasonable
to reformat only the code that was changed.