mbox series

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

Message ID 20230118163203.488652-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. 18, 2023, 4:32 p.m. UTC
This patch version addresses:
- extra test for number of arguments in the header t9001 test
- removed use of envelope in the documentation
- re-arranged the validation loop and surrounding code to be closer to
  the other code not in functions
- made a note in the commit message that the moving of validation later
  can have some difference in stdout compared to before but actual email
functionality should be ok

Hopefully this looks better.

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 |  27 +++++++--
 git-send-email.perl        | 109 ++++++++++++++++++++++---------------
 t/t9001-send-email.sh      |  27 ++++++++-
 3 files changed, 114 insertions(+), 49 deletions(-)