Git-Hooks icon indicating copy to clipboard operation
Git-Hooks copied to clipboard

Git::Hooks::Notify to support address generation on the fly

Open mikkoi opened this issue 4 years ago • 0 comments

A notify rule is specified as

rule [REFS] [OPTIONS] RECIPIENTS [-- PATHSPECS]

It would be nice if the recipients could also be generated on the fly. For example, I would like to use my .mailmap file because all repo users are listed there anyway. Or any other way to get the user names and email addresses. Would also like to send emails like Firstname Lastname <[email protected]>.

E.g.

rule master --no-merges `perl: system 'cat .mailmap';` /code
rule master --no-merges `sh: cat .mailmap` /code

mikkoi avatar Oct 01 '20 20:10 mikkoi