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

- From: Eric Sunshine \<hidden\>
- Date: 2021-12-01 05:38:54 
- List: git
- Page: https://ratatoskr.run/git/2021/12/7913597
- Thread: https://ratatoskr.run/git/2021/11/7913454/t.md

```text
On Tue, Nov 30, 2021 at 9:36 PM Eric Sunshine [ref] wrote:
> On Tue, Nov 30, 2021 at 3:47 PM Jeff King [ref] wrote:
> > On Tue, Nov 30, 2021 at 09:05:54AM -0500, Eric Sunshine wrote:
> > > (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/
```
