All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d32a30a)
Signed-off-by: martin f. krafft <madduck@madduck.net>
# hooks.fbi-component an optional component name
# hooks.fbi-url-template the template to the gitweb URL (containing @@sha1@@)
# hooks.fbi-emailsender the sender address to use in the email
# hooks.fbi-component an optional component name
# hooks.fbi-url-template the template to the gitweb URL (containing @@sha1@@)
# hooks.fbi-emailsender the sender address to use in the email
+# hooks.fbi-emailcc carbon-copy recipients (comma-separated) if the message
# hooks.fbi-refwidth the width of references to show (default 7)
# hooks.fbi-noisy include the entire log message in the announcement
# hooks.fbi-msg-template the template for the message to be sent (default:
# hooks.fbi-refwidth the width of references to show (default 7)
# hooks.fbi-noisy include the entire log message in the announcement
# hooks.fbi-msg-template the template for the message to be sent (default:
noisy=$(git config hooks.fbi-noisy 2>/dev/null || echo false)
from=$(git config hooks.fbi-emailsender 2>/dev/null ||:)
to="commit@commit.ganneff.de" #TODO: possibly factor out to config
noisy=$(git config hooks.fbi-noisy 2>/dev/null || echo false)
from=$(git config hooks.fbi-emailsender 2>/dev/null ||:)
to="commit@commit.ganneff.de" #TODO: possibly factor out to config
+cc=$(git config hooks.fbi-emailcc 2>/dev/null ||:)
# mail submission client to use
if [ -n "${FBI_ANNOUNCE_TO_STDOUT:-}" ]; then
# mail submission client to use
if [ -n "${FBI_ANNOUNCE_TO_STDOUT:-}" ]; then
${sendmail} <<_eom
${from:+From: ${from}
}To: ${to}
${sendmail} <<_eom
${from:+From: ${from}
}To: ${to}
-Subject: Announce ${project}
+${cc:+Cc: ${cc}
+}Subject: Announce ${project}
Message-Id: <fbi-announce.${project}.${ref}@$(hostname --fqdn)>
${msg}
Message-Id: <fbi-announce.${project}.${ref}@$(hostname --fqdn)>
${msg}