Nicolas,

Am 17.12.20 um 22:30 schrieb Nicolas CARPi:
> For purely illustration purposes, this is the kind of diff that would be
> generated if one were to clang-format all the .c files:
> 
> https://github.com/deltablot/haproxy/commit/878ba41e4742b39034686d2b6feb3c561edeb72a
> 
> Showing 195 changed files with 177,997 additions and 174,367 deletions.

It'll probably get a quite bit smaller if you'd add a configuration file
that configures the indentation to happen using tabs instead of spaces.

But even then it stomps over stuff like `a_eq_b` in
contrib/ip6range/ip6range.c:

https://github.com/deltablot/haproxy/commit/878ba41e4742b39034686d2b6feb3c561edeb72a#diff-f99a0be674dc22ec08274e8ae4e68be49a16d905afdeb918d31779898ba08ba9L74-R84


It definitely does not help readability :-)

Best regards
Tim Düsterhus

PS: Prefer replying inline instead of top-posting and cut the quotes to
only keep a small context.

Reply via email to