Re: [PATCH 2/2] status: improve rebase todo list parsing
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Apr 22, 2026, 13:28 UTC
- Message-ID
- <aejM4EY29MGht5or@pks.im>
- In-Reply-To
- <CABPp-BFziRXjuMKqf=RHgCwuCcujXSSrz0f+BS4pvE6EUbk-WQ@mail.gmail.com>
On Tue, Apr 21, 2026 at 05:32:21PM -0700, Elijah Newren wrote:
Show 8 quoted lines
> On Mon, Apr 20, 2026 at 8:25 AM Phillip Wood <phillip.wood123@gmail.com> wrote: > > + /* > > + * Avoid "default" and instead list all the other commands so > > + * that -Wswitch warns if a new command is added without handling > > + * it in this function. > > + */ > > Nice. :-)
Do we actually use -Wswitch anywhere? A quick grep in our code base didn't surface it, so I'm a bit sceptical that we would actually detect any missing cases via CI.
Thanks!
Patrick