[PATCH 0/2] send-email: add --header-cmd option
- From
Maxim Cournoyer <maxim.cournoyer@gmail.com>
- Date
- Apr 23, 2023, 12:27 UTC
- Message-ID
- <20230423122744.4865-1-maxim.cournoyer@gmail.com>
Hi,
This adds a new --header-cmd option to the send-email command, joining in the ranks of '--cc-cmd' and '--to-cmd'. The header-cmd script provided as argument should output 'header: value' lines, such as:
X-Debbugs-Cc: someone@example.com AnotherHeader: somevalue [...]
This change was motivated by the use case of easing collaboration using Debbugs in GNU Guix [0].
[0] https://issues.guix.gnu.org/58813
Thanks,
Maxim Cournoyer (2): send-email: extract execute_cmd from recipients_cmd send-email: add --header-cmd option
Documentation/config/sendemail.txt | 1 + Documentation/git-send-email.txt | 5 ++++ git-send-email.perl | 38 +++++++++++++++++++++++------- t/t9001-send-email.sh | 21 +++++++++++++++-- 4 files changed, 54 insertions(+), 11 deletions(-)
base-commit: 7580f92ffa970b9484ac214f7b53cec5e26ca4bc
-- 2.39.2