Thread (77 messages) 77 messages, 4 authors, 2024-05-15

Re: [PATCH 05/21] builtin/config: move actions into `cmd_config_actions()`

From: Patrick Steinhardt <hidden>
Date: 2024-05-13 10:20:48

On Fri, May 10, 2024 at 01:42:49PM -0700, Kyle Lippincott wrote:
On Fri, May 10, 2024 at 4:26 AM Patrick Steinhardt [off-list ref] wrote:
[snip]
quoted
-/*
- * The actions "ACTION_LIST | ACTION_GET_*" which may produce more than
- * one line of output and which should therefore be paged.
- */
We lost this comment when inlining this. Not sure if that was
intentional (comment deemed to be of low value) or accidental. I think
as someone unfamiliar with this logic that the comment would be
helpful to keep - it describes _why_ those items are checked for (vs.
needing to infer it from the action that's taken when there's a
match).
It was intentional because I found the comment to be somewhat redundant.
But I can also see that it does provide a bit more context than the code
itself does, so I'll add it back in.

Patrick

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help