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

[PATCH v3 0/2] t3700: modernize and fix exit code suppression

From
Siddharth Shrimali <r.siddharth.shrimali@gmail.com>
Date
Mar 3, 2026, 20:40 UTC
Message-ID
<20260303204029.52952-1-r.siddharth.shrimali@gmail.com>

This is the third version to modernize t3700 and ensure git's exit codes are not suppressed in pipelines.

Changes in v3:
- Split the series into two distinct patches as suggested by Junio.
- Patch 1/2: Focuses strictly on breaking pipelines to expose git's
  exit status and simplifying 'wc -l' logic.
- Patch 2/2: Converts all remaining 'grep' and '! grep' calls to the
  modern 'test_grep' and 'test_grep !' helpers.
- Fixed trailer formatting in commit messages.
Siddharth Shrimali (2):
  t3700: avoid suppressing git's exit code
  t3700: use test_grep helper for better diagnostics
 t/t3700-add.sh | 49 +++++++++++++++++++++++++++++++------------------
 1 file changed, 31 insertions(+), 18 deletions(-)
-- 
2.51.2
Next: Siddharth Shrimali
Message 1 of 3 in “t3700: modernize and fix exit code suppression”
  1. 0/2 t3700: modernize and fix exit code suppressionSiddharth Shrimali, Mar 3, 2026
  2. 1/2 t3700: avoid suppressing git's exit codeSiddharth Shrimali, Mar 3, 2026
  3. 2/2 t3700: use test_grep helper for better diagnosticsSiddharth Shrimali, Mar 3, 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.