Fix arc lint's clang-format rule: only format the file we were asked to format.
authorRichard Smith <richard@metafoo.co.uk>
Sun, 11 Oct 2020 21:20:01 +0000 (14:20 -0700)
committerRichard Smith <richard@metafoo.co.uk>
Sun, 11 Oct 2020 21:24:23 +0000 (14:24 -0700)
commitc25da4b04ae1eafa27623717a032de3d62ffc803
treea2f93e3f2ac34341b64bb9656c9a7b1b25493034
parenta9cefc3deee04566735351c27194a9693742aadf
Fix arc lint's clang-format rule: only format the file we were asked to format.

This avoids diffs being applied in the work tree to files that are
supposed to be excluded (clang tests), allows arc to properly provide
interactive feedback for the formatting fixes, and reduces the number of
files that we format, in a change affecting N files, from N^2 to N.
utils/arcanist/clang-format.sh