Re: [PATCH v4 1/2] stash: reserve exit status 1 for conflicts
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 3, 2026, 19:45 UTC
- Message-ID
- <xmqqwlt29l01.fsf@gitster.g>
- In-Reply-To
- <CAHwyqnW8sdnDcncpZpaMD8fmWaj+WJQxhA4G-Y+L5PTW=h3k6Q@mail.gmail.com>
Harald Nordgren <haraldnordgren@gmail.com> writes:
Show 10 quoted lines
>> >> > Style. Once one of "if", "else if" and "else" cascade gains
>> >> > {braches}, others should do so as well.
>> >
>> > I would love to have a linter rule for this, since I keep forgetting
>> > and it's a waste of time for others to remind me.
>>
>> Does our .clang-format file already cover this?
>
> I don't think so. When GitHub CI runs, it doesn't complain about
> mismatched braces.A local "make style" while you develop runs
git clang-format --style file --diff --extensions c,h
which tells the command to check only the parts of the system that you touched.
I do not think it is used in CI.