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

Re: [PATCH RESEND] send-email: add 'specify-author' option

From
Michael Witten <mfwitten@gmail.com>
Date
Apr 12, 2012, 15:36 UTC
Message-ID
<fd7f09d9f7ad4ce2a32e850c0f21cc4c-mfwitten@gmail.com>
In-Reply-To
<CAMP44s1b=HfhPNkmiEjPnQpupd0FPBNgVyp5Sw=zFVTdqmJXEg@mail.gmail.com>
On Fri, 6 Apr 2012 22:42:16 +0300, Felipe Contreras wrote:
Show 22 quoted lines
> On Fri, Apr 6, 2012 at 8:14 PM, Junio C Hamano <gitster@pobox.com> wrote:
>> Felipe Contreras <felipe.contreras@gmail.com> writes:
>>
>>> Some mail servers (Microsoft Exchange) mangle the 'From' header, so
>>> while applying the patches, the author has to be fixed manually.
>>>
>>> This option allows to always specify the author of the commit in the
>>> body of the message, even if the committer is the author.
>>>
>>> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
>>> ---
>>
>> I wouldn't say that the existing option names to send-email are great, but
>> I have to say that the one added by this is simply horrible ;-)
>>
>> The first paragraph of the proposed commit log message states the problem
>> it tries to address very clearly, which is good, but is "From: " the only
>> thing that needs this? I am wondering if this should be named and behave
>> more like "--duplicate-header" or "--in-body-header".
>
> I have never seen any other 'in-body-header' other than From, and I
> don't see how that would be useful. Anybody else?

I sometimes like to set an explicit in-body `Date' header. However, Junio has disagreed vocally about this practice:

  Subject: Dates in Commits and other issues of style
           (Re: [RFC 2/5] Pretty Print: show tz when using DATE_LOCAL)
  Message-ID: <811b01a9-f10e-4444-9e5e-581adaf059c2-mfwitten@gmail.com>
  http://article.gmane.org/gmane.comp.version-control.git/171936

Sincerely, Michael Witten

Previous: Michael WittenNext: Junio C Hamano
Message 11 of 14 in “send-email: add 'specify-author' option”
  1. send-email: add 'specify-author' optionFelipe Contreras, Apr 6, 2012
  2. Felipe ContrerasApr 6, 2012
  3. Junio C HamanoApr 6, 2012
  4. Felipe ContrerasApr 6, 2012
  5. Junio C HamanoApr 6, 2012
  6. Felipe ContrerasApr 6, 2012
  7. Junio C HamanoApr 6, 2012
  8. Felipe ContrerasApr 7, 2012
  9. Junio C HamanoApr 8, 2012
  10. Michael WittenApr 12, 2012
  11. Michael WittenApr 12, 2012
  12. Junio C HamanoApr 12, 2012
  13. Thomas RastApr 6, 2012
  14. Felipe ContrerasApr 6, 2012

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.