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

Re: [PATCH/RFC] Revert "git am/mailinfo: Don't look at in-body headers when rebasing"

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 24, 2015, 16:04 UTC
Message-ID
<xmqq616day9j.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CACRoPnRFCZWih-uFMRnqWwOCmeM9=RgUUpQURk4vrZZsDOjGvg@mail.gmail.com>
Paul Tan <pyokagan@gmail.com> writes:
Show 16 quoted lines
> On Tue, Jun 16, 2015 at 5:03 PM, Paul Tan <pyokagan@gmail.com> wrote:
>> This reverts commit d25e51596be9271ad833805a3d6f9012dc24ee79, removing
>> git-mailsplit's --no-inbody-headers option.
>>
>> While --no-inbody-headers was introduced to prevent commit messages from
>> being munged by git-mailinfo while rebasing, the need for this option
>> disappeared since 5e835ca (rebase: do not munge commit log message,
>> 2008-04-16), as git-am bypasses git-mailinfo and gets the commit message
>> directly from the commit ID in the patch.
>>
>> git-am is the only user of --no-inbody-headers, and this option is not
>> documented. As such, it should be removed.
>>
>> Signed-off-by: Paul Tan <pyokagan@gmail.com>
>
> What do you think about applying this patch?

Indifferent, even though it would be the right thing to do in the longer term.

Keeping what we think nobody uses does not hurt us at least in the short term; removing such a thing hurts us if it turns out that somebody whose use we didn't know about were actually using it.

And my time is better spent at this point in the cycle on other things than having to worry about possible fallouts from the removal that is not urgent.

Previous: Paul Tan
Message 4 of 4 in “Revert "git am/mailinfo: Don't look at in-body headers when rebasing"”
  1. Revert "git am/mailinfo: Don't look at in-body headers when rebasing"Paul Tan, Jun 16, 2015
  2. Johannes SchindelinJun 16, 2015
  3. Paul TanJun 24, 2015
  4. Junio C HamanoJun 24, 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.