Re: [PATCH v4 8/8] ci/style-check: add `RemoveBracesLLVM` to '.clang-format'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 15, 2024, 17:01 UTC
- Message-ID
- <xmqq8qy24mil.fsf@gitster.g>
- In-Reply-To
- <20240715093047.49321-9-karthik.188@gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 5 quoted lines
> A more ideal solution would be if 'clang-format' allowed us to append > rules to the existing '.clang-format' when invoked. But such an option > does not exist. Since modifying the in-tree '.clang-format' is only done > on the CI job for style-check and doesn't affect any other jobs and is > not persisted in any ways, this hack should be okay.
I think our mails crossed, but I do not know why this hack is OK. Are there other CI jobs that muck with tracked files in the working tree?
Thanks.