mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Strawbridge, Michael" <>
To: "" <>
Cc: "Strawbridge, Michael" <>,
	"Tuikov, Luben" <>,
	"brian m . carlson" <>
Subject: [PATCH v2 2/2] Update sendemail-validate hook docs to add header file parameter
Date: Fri, 11 Nov 2022 19:31:00 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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 <>
Cc: brian m. carlson <>
Signed-off-by: Michael Strawbridge <>
 Documentation/githooks.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
index a16e62bc8c..346e536cbe 100644
--- a/Documentation/githooks.txt
+++ b/Documentation/githooks.txt
@@ -583,10 +583,10 @@ processed by rebase.
-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
+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.

      parent reply	other threads:[~2022-11-11 19:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-11 19:30 [PATCH v2 0/2] Update sendemail-validate hook docs to add header file parameter Strawbridge, Michael
2022-11-11 19:30 ` [PATCH v2 1/2] Expose header information to git-send-email's sendemail-validate hook Strawbridge, Michael
2022-11-11 19:31 ` Strawbridge, Michael [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).