Skip to content

clang-format-diff: Output diff for multiple files, not just one

A bug in clang-format-diff.py was causing it to only output the formatting diff for the first incorrectly-formatted file, rather than the diffs for all files.

That’s not so helpful for reformatting an entire MR in one go. Fix it.

Signed-off-by: Philip Withnall withnall@endlessm.com

Edited by Philip Withnall

Merge request reports