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

[PATCH 0/2] dropping stdin support from test-terminal

From
Jeff King <peff@peff.net>
Date
Jun 6, 2024, 08:17 UTC
Message-ID
<20240606081724.GA1166769@coredump.intra.peff.net>
This is an alternative to Rubén's patch here:
  https://lore.kernel.org/git/d95180fc-8f8a-4e1d-987d-3aa0811be7de@gmail.com/

and instead just rips out the stdin feature of test-terminal completely. There are two tests in t4153 that rely on it (and for which it was originally added), but I think the fact that we need to use test_terminal there indicates missing functionality in git-am.

So patch 1 fixes that, and then patch 2 simplifies test-terminal.
  [1/2]: am: add explicit "--retry" option
  [2/2]: test-terminal: drop stdin handling
 Documentation/git-am.txt           |  8 +++++++-
 builtin/am.c                       |  3 +++
 t/t4153-am-resume-override-opts.sh | 14 +++++++++-----
 t/test-terminal.perl               | 29 +++--------------------------
 4 files changed, 22 insertions(+), 32 deletions(-)
-Peff
Next: Jeff King
Message 1 of 9 in “dropping stdin support from test-terminal”
  1. 0/2 dropping stdin support from test-terminalJeff King, Jun 6, 2024
  2. 1/2 am: add explicit "--retry" optionJeff King, Jun 6, 2024
  3. Junio C HamanoJun 6, 2024
  4. Junio C HamanoJun 6, 2024
  5. Jeff KingJun 8, 2024
  6. Phillip WoodJun 10, 2024
  7. 2/2 test-terminal: drop stdin handlingJeff King, Jun 6, 2024
  8. Rubén JustoJun 6, 2024
  9. Rubén JustoJun 6, 2024

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.