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:58 UTC
Message-ID
<87520431c0b04cd4b78aac481d81002b-mfwitten@gmail.com>
In-Reply-To
<7vobr4ze5z.fsf@alter.siamese.dyndns.org>
On Fri, 06 Apr 2012 15:30:32 -0700, Junio C Hamano wrote:
Show 6 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
>> I can't foresee that, but I guess we can do it anyway. So which would
>> be the fields to repeat? From, Date, and Subject?
> 
> I would say From and Subject are equally worth considering.
Famous last words: "I can't foresee that."
My impression from Junio's initial comment:
>>> 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".

is that a more general solution should be sought, particularly because we indeed can't foresee people's needs. I envisioned `--in-body-header' taking as an argument a colon-separated list of headers that should be inlined; let the user mix and match as he pleases, and save us trouble in the future when new headers pop up (I can't forsee that happening, but, well, who knows?).

Naturally, a configuration variable could be useful.

Sincerely, Michael Witten

Previous: Junio C HamanoNext: Michael Witten
Message 10 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.