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

Re: [PATCH 2/2] Update sendemail-validate hook docs to add header file parameter

From
LTLuben Tuikov <luben.tuikov@amd.com>
Date
Nov 11, 2022, 19:12 UTC
Message-ID
<3b73fc69-e6a4-125c-e101-bc0021801994@amd.com>
In-Reply-To
<20221111021502.449662-3-michael.strawbridge@amd.com>
On 2022-11-10 21:15, Strawbridge, Michael wrote:
Show 29 quoted lines
> Add documentation for the new smtp header file parameter used by the
> sendemail-validate git-send-email hook.
> 
> sendemail-validate accepts the patch file as the first parameter (same as
> before) and now also adds the smtp header information as the second parameter.
> 
> Cc: Luben Tuikov <luben.tuikov@amd.com>
> Cc: brian m. carlson <sandals@crustytoothpaste.net>
> Signed-off-by: Michael Strawbridge <michael.strawbridge@amd.com>
> ---
>  Documentation/githooks.txt | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
> index a16e62bc8c..c1baf34454 100644
> --- a/Documentation/githooks.txt
> +++ b/Documentation/githooks.txt
> @@ -583,10 +583,10 @@ processed by rebase.
>  sendemail-validate
>  ~~~~~~~~~~~~~~~~~~
>  
> -This hook is invoked by linkgit:git-send-email[1].  It takes a single parameter,
> -the name of the file that holds the e-mail to be sent.  Exiting with a
> -non-zero status causes `git send-email` to abort before sending any
> -e-mails.
> +This hook is invoked by linkgit:git-send-email[1].  It takes two parameters,
> +the name of a file that holds the patch and the name of a file that holds the
> +smtp headers.  Exiting with a non-zero status causes `git send-email` to abort
> +before sending any e-mails.
Fix this: smtp --> SMTP

Regards, Luben

>  
>  fsmonitor-watchman
>  ~~~~~~~~~~~~~~~~~~
Previous: Ævar Arnfjörð Bjarmason
Message 5 of 5 in “Expose header information to git-send-email's sendemail-validate hook”
  1. 0/2 Expose header information to git-send-email's sendemail-validate hookStrawbridge, Michael, Nov 11, 2022
  2. 1/2 Expose header information to git-send-email's sendemail-validate hookStrawbridge, Michael, Nov 11, 2022
  3. 2/2 Update sendemail-validate hook docs to add header file parameterStrawbridge, Michael, Nov 11, 2022
  4. Ævar Arnfjörð BjarmasonNov 11, 2022
  5. Luben TuikovNov 11, 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.