clang-format, only horizontal whitespace changes

I have a code project that I'd like to re-indent using
clang-format,however, in order not to break the history, I'd like to
make the tool *only* format horizontally (e.g. git log -b -w will
just ignore the re-indentation commit).

So it would be a "best effort" re-indent - doing the best it can, but
only horizontally (still removing extra spaces in parenthesis pair
etc.)

Is this possible?

Thanks,
Björn Töpel

No - that's not an existing feature of clang-format. It might be an
interesting one to consider adding, though.

You can try whether setting the column limit to 0 is close enough to want you are looking for. It will still do other changes if it thinks the current line breaks are bad…