Subject: Re: [PATCH v2 3/9] reset: modernize flags passed to `reset_head()`

From: "Kristoffer Haugsbakk" <[email-masked]>
Date: Wed, 03 Jun 2026 20:01:04 +0200

On Wed, Jun 3, 2026, at 18:14, Patrick Steinhardt wrote:
> The flags passed to `reset_head()` are declared as defines. This has
> fallen a bit out of practice nowadays, where we instead prefer to use
> enums.
>
> Modernize the code accordingly.
>
> Signed-off-by: Patrick Steinhardt <[email-masked]>
> ---

This seems to refer to this from CodingGuidelines (quoting
for reference):

    When a function `F` accepts flags, those flags should be

So this goal makes sense.

>[snip]