From: Justin Tobler Date: Fri, 25 Oct 2024 02:37:36 GMT Subject: Re: [PATCH v4 1/2] clang-format: re-adjust line break penalties Message-ID: In-Reply-To: On 24/10/18 10:46AM, Karthik Nayak wrote: > In 42efde4c29 (clang-format: adjust line break penalties, 2017-09-29) we > adjusted the line break penalties to really fine tune what we care about > while doing line breaks. Modify some of those to be more inline with > what we care about in the Git project now. From my understanding, the original motivation for these changes was to cut down on the noise from the clang-format CI job. These changes seem reasonable for that purpose, but affect the also formatter in general. Out of curiousity, would it be possible to just configured clang-format for the CI job to behave in this manner? Ultimately, I'm not sure that would be good idea though because having a diverged set of rules may just cause more noise. -Justin