git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Reintegrate: send "Huh?" warnings to stderr, not stdout

From
EEErik Cervin Edin <erik@cervined.in>
Date
May 4, 2026, 10:03 UTC
Message-ID
<afht-MqIGaZLwbnY@mbp>
In-Reply-To
<5a821f71-3d6e-4942-9bdb-257617484a6b@malon.dev>
On 26/04/29 02:05AM, Tian Yuchen wrote:
Show 9 quoted lines
> It would be better for me if this sentence (i.e., what was the code
> originally *intended* to do before the patch?) were placed right at the
> beginning. Something similar to:
> 
> 	In show_merge(), the warning "Huh?: $msg" is emitted to stdout because it
> uses the erroneous redirect `echo 2>&1`. The intent was clearly to use `>&2`
> to print to stderr...
> 
> Of course, it’s up to you ;)

Good point! I hoisted the intent up to the opening paragraph; took the spirit of your wording rather than copying it verbatim, and tightened the rest while I was at it.

Previous: Tian YuchenNext: erik@cervined.in
Message 3 of 4 in “Reintegrate: send "Huh?" warnings to stderr, not stdout”
  1. Reintegrate: send "Huh?" warnings to stderr, not stdoutErik Cervin-Edin, Apr 27, 2026
  2. Tian YuchenApr 28, 2026
  3. Erik Cervin EdinMay 4, 2026
  4. Reintegrate: send "Huh?" warnings to stderr, not stdouterik@cervined.in, May 4, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.