mbox series

[v7,0/2] send-email: expose header information to git-send-email's sendemail-validate hook

Message ID 20230117142706.230404-1-michael.strawbridge@amd.com (mailing list archive)
Headers show
Series send-email: expose header information to git-send-email's sendemail-validate hook | expand

Message

Michael Strawbridge Jan. 17, 2023, 2:27 p.m. UTC
Thank you both for the input on v6.  I believe that I have incorporated
all of your feedback.  I decided to keep a few examples of headers in
the documentation as I believe if I were someone wanting to write a hook
I would find the example helpful.  It points out unobvious things like
Cc being capitalized as it is and also how multiple lines work.

Michael Strawbridge (2):
  send-email: refactor header generation functions
  send-email: expose header information to git-send-email's
    sendemail-validate hook

 Documentation/githooks.txt | 28 +++++++++++--
 git-send-email.perl        | 80 +++++++++++++++++++++++++-------------
 t/t9001-send-email.sh      | 39 ++++++++++++++++++-
 3 files changed, 113 insertions(+), 34 deletions(-)