Thanks to Ævar for an idea to simplify these patches further. 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 | 95 +++++++++++++++++++++++--------------- t/t9001-send-email.sh | 27 ++++++++++- 3 files changed, 106 insertions(+), 43 deletions(-) -- 2.34.1