Thread (119 messages) read the whole thread 119 messages, 6 authors, 27d ago

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

From: Kristoffer Haugsbakk <hidden>
Date: 2026-06-03 18:02:05

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 <redacted>
---
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]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help