diff options
author | Michael Strawbridge <michael.strawbridge@amd.com> | 2023-04-19 16:27:03 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-19 14:19:09 -0700 |
commit | a8022c5f7b678189135b6caa3fadb3d8ec0c0d48 (patch) | |
tree | 3d2d5787217c3096e3dcfb21e44ebccd715d2362 /builtin/commit.c | |
parent | 56adddaa06d376f3977ee91e8a769cd85439d21c (diff) |
send-email: expose header information to git-send-email's sendemail-validate hook
To allow further flexibility in the Git hook, the SMTP header
information of the email which git-send-email intends to send, is now
passed as the 2nd argument to the sendemail-validate hook.
As an example, this can be useful for acting upon keywords in the
subject or specific email addresses.
Cc: Luben Tuikov <luben.tuikov@amd.com>
Cc: Junio C Hamano <gitster@pobox.com>
Cc: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Michael Strawbridge <michael.strawbridge@amd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions