Provide a simple hook script that just looks at the X-Aiaiai-Project
header that could be added, with e.g:
git format-patch --add-header="X-Aiaiai-Project: foo" while formatting
patches.
This is enough to avoid per-project email addresses.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
In case you would want to use the same aiaiai recipient email address for all
projects, you need to create a hook file which will be looking at the
X-Aiaiai-Project header in the mbox file, and output it to stdout (see:
-email/aiaiai-email-test-patchset)
+email/aiaiai-email-test-patchset). An example hook script could look like this:
+
+#!/bin/sh
+CFGFILE="$1"
+MBOX="$2"
+grep "X-Aiaiai-Project" $MBOX
+ret=$?
1.3 Non-e-mail scripts
~~~~~~~~~~~~~~~~~~~~~~