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

Re: wishlist: git send-email improvement

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 9, 2010, 17:30 UTC
Message-ID
<7veijtz9kn.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1268155306.4277.14.camel@localhost>
Yann Droneaud <yann@droneaud.fr> writes:
Show 6 quoted lines
> Here's a little wishlist for send-email
>
> - Use From: field extracted from patch:
>   If there's no configuration for user.email and From: field is 
>   different than default auto generated From: address, 
>   git send-email should use the one in the patch as default.

I cannot judge how sensible this change is; please justify the motivation by adding "it currently does _this_, which is not good for _such and such reasons_; instead" between the third and the fourth line.

Show 6 quoted lines
> - Use To: field extracted from patch
>   I've setup format-patch to add a default To: field with
>   format.headers="To: xxx@yyy". But git send-email did not use it and 
>   ask for a To: value.
>   If there's no --to or sendmail.to, send-email should use To: value 
>   extracted from patch and ask for user confirmation.

With the recent addition of format.to that is cooking somewhere, I think this one is probably sensible.

Previous: Yann DroneaudNext: Yann Droneaud
Message 2 of 6 in “wishlist: git send-email improvement”
  1. Yann DroneaudMar 9, 2010
  2. Junio C HamanoMar 9, 2010
  3. Yann DroneaudMar 9, 2010
  4. Yann DroneaudMar 9, 2010
  5. L. Alberto GiménezMar 9, 2010
  6. Yann DroneaudMar 13, 2010

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.