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

Re: [Outreachy PATCH] t2104: avoid suppressing git's exit code

From
Patrick Steinhardt <ps@pks.im>
Date
Oct 21, 2026, 08:00 UTC
Message-ID
<athxA6S50czDEUYj@pks.im>
In-Reply-To
<20261021033723.5265-1-herroyalpriestess@gmail.com>
On Wed, Oct 21, 2026 at 04:37:23AM +0100, Cynthia Uche wrote:
> The exit code of the upstream command in a pipeline is lost, so a
> crash in 'git ls-files' would go unnoticed. Write the output to a
> file and compare that instead.
Makes sense, and the patch looks obviously good to me, too. Thanks!
Patrick
Previous: Cynthia UcheNext: Priestess
Message 2 of 4 in “t2104: avoid suppressing git's exit code”
  1. t2104: avoid suppressing git's exit codeCynthia Uche, Oct 21, 2026
  2. Patrick SteinhardtOct 21, 2026
  3. PriestessOct 22, 2026
  4. Junio C HamanoOct 23, 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.