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

Re: [PATCH v2 2/2] t: use commit_body to extract commit message bodies

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 30, 2026, 19:38 UTC
Message-ID
<xmqqy0esjmj5.fsf@gitster.g>
In-Reply-To
<20260730180207.83197-1-diy2903@gmail.com>
Shlok Kulshreshtha <diy2903@gmail.com> writes:
Show 8 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> I would not claim to have checked all of these changes, but I did
>> spot check a handful and they all looked reasonable.
>>
>> Shall we mark the topic for 'next'?
>
> Yes, please.

The qutestion was not quite for you, but for those other people who are reading the list from sidelines. We all know that the original author of the patch wants their work in, so that does not work as a useful signal.

Show 11 quoted lines
> * t7600-merge.sh, "merge --no-ff --edit".  The test grepped the raw
>   commit object for a phrase and then stripped the header for the
>   comparison.  The phrase is in the body rather than the header, so the
>   grep now runs against the already-stripped body and both steps share
>   one commit_body call.
>
> * t3900-i18n-commit.sh, in test_commit_autosquash_multi_encoding().
>   The stripped body was piped into "iconv".  Piping commit_body into
>   "iconv" would reintroduce the exit-code hole,
>   so the body is written to a file and "iconv"
>   reads the file.
These are as the log message describes ;-)  All looked good.
Thanks.
Previous: Shlok Kulshreshtha
Message 11 of 11 in “t: add and use a commit_body test helper”
  1. 0/2 t: add and use a commit_body test helperShlok Kulshreshtha, Jul 26, 2026
  2. 1/2 test-lib-functions: add commit_body helperShlok Kulshreshtha, Jul 26, 2026
  3. 2/2 t: use commit_body to extract commit message bodiesShlok Kulshreshtha, Jul 26, 2026
  4. Junio C HamanoJul 27, 2026
  5. Shlok KulshreshthaJul 27, 2026
  6. 0/2 t: add and use a commit_body test helperShlok Kulshreshtha, Jul 27, 2026
  7. 1/2 test-lib-functions: add commit_body helperShlok Kulshreshtha, Jul 27, 2026
  8. 2/2 t: use commit_body to extract commit message bodiesShlok Kulshreshtha, Jul 27, 2026
  9. Junio C HamanoJul 29, 2026
  10. Shlok KulshreshthaJul 30, 2026
  11. Junio C HamanoJul 30, 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.