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

Re: [PATCH v2] filter-branch: remove multi-line headers in msg filter

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Oct 12, 2015, 07:26 UTC
Message-ID
<561B60B1.10003@drmicha.warpmail.net>
In-Reply-To
<xmqqpp0oormv.fsf@gitster.mtv.corp.google.com>
Junio C Hamano venit, vidit, dixit 09.10.2015 19:53:
Show 17 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
> 
>>> Set IFS to an empty string for the “read” call, thus disabling the word
>>> splitting, which causes $header_line to be set to the non-empty value '
>>> '.  This allows the loop to fully consume the header lines before
>>> emitting the original, intact commit message.
>>>
>>> Signed-off-by: James McCoy <vega.james@gmail.com>
>>> ---
>>
>> Thanks for hanging in :)
>>
>> Reviewed-by: Michael J Gruber <git@drmicha.warpmail.net>
> 
> As long as you are fine with giving authorship to James, I am fine
> with that.  I'll amend what is queued with your reviewed-by above
> and will merge to 'next'.

Yep, I'm fine with "mini-mentoring", and just to be safe, the 7 new characters in git-filter-branch.sh are (also)

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
in case that is needed or preferred.
Michael
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 5 in “filter-branch: remove multi-line headers in msg filter”
  1. filter-branch: remove multi-line headers in msg filterJames McCoy, Oct 9, 2015
  2. Michael J GruberOct 9, 2015
  3. Junio C HamanoOct 9, 2015
  4. Michael J GruberOct 12, 2015
  5. Junio C HamanoOct 12, 2015

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.