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

[Proposal] Pass additional metadata to sendemail-validate hook from git send-email

From
SMStrawbridge, Michael <michael.strawbridge@amd.com>
Date
Aug 26, 2022, 21:00 UTC
Message-ID
<87czcm7maf.fsf@amd.com>
Hi,
I was hoping to put a feature proposal forward for git send-email.

For git send-email there is a git hook, sendemail-validate which gets the body of the email that will be sent but is missing some of the metadata that git send-email has access to. I propose that we also pass the extra metadata that gets presented to the user later on via stdout such as: From, To, Cc, Subject, Date, Message-Id, X-Mailer, MIME-Version, Content-Transfer-Encoding to the git hook.

I'm willing to work on the patch but want to make sure the idea would be accepted first.

Thank you, Michael

Next: brian m. carlson
Message 1 of 3 in “[Proposal] Pass additional metadata to sendemail-validate hook from git send-email”
  1. Strawbridge, MichaelAug 26, 2022
  2. brian m. carlsonAug 28, 2022
  3. Strawbridge, MichaelAug 29, 2022

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.