On Tue, Apr 2, 2024 at 1:40 AM Patrick Steinhardt <ps@xxxxxx> wrote: > When it does know about both I also see myself using it more frequently > in the future. It would be nice if git-send-email(1)/git-format-patch(1) > had a switch `--cc-command=` or similar that you can pass the script to > so that To/Cc lines would be added automatically. The script then gets > the commit range as input and can decide based on whatever criteria whom > to Cc. To the best of my knowledge that is not currently possible. I may be misunderstanding your statement, but this automated mode was exactly the original use-case. contrib/contacts/git-contacts.txt says this: This command can be useful for determining the list of people with whom to discuss proposed changes, or for finding the list of recipients to Cc: when submitting a patch series via `git send-email`. For the latter case, `git contacts` can be used as the argument to `git send-email`'s `--cc-cmd` option.