Re: [RFC PATCH] vreportf: ensure sensible ordering of normal and error output

From
Eric Sunshine <hidden>
Date
2021-12-01 05:38:54
Reply to
Eric Sunshine, 2021-12-01
On Tue, Nov 30, 2021 at 9:36 PM Eric Sunshine [off-list ref] wrote:
On Tue, Nov 30, 2021 at 3:47 PM Jeff King [off-list ref] wrote:
quoted
On Tue, Nov 30, 2021 at 09:05:54AM -0500, Eric Sunshine wrote:
quoted
(1) I don't think the practice is documented anywhere, so people --
including me when I wrote builtin/worktree.c -- might not know about
it. Indeed, we don't seem to be entirely consistent about doing it
this way. Randomly picking submodule-helper.c, for instance, I see
status-like messages going to stdout:
Yeah, we've definitely not been consistent here. There's no silver
bullet for this aside from vigilance during review, but probably laying
out guidelines could help.
Thanks for the reference. I'll take a stab at adding a blurb about
this to CodingGuidelines.
I just posted a patch which updates CodingGuidelines to talk a bit about this:
https://lore.kernel.org/git/20211201053214.2902-1-sunshine@sunshineco.com/ (local)
Thread (10 messages) 10 messages, 3 authors, last reply 2021-12-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help