table of contents
STG-MAIL(1) | StGit Manual | STG-MAIL(1) |
NAME¶
stg-mail - Send a patch or series of patches by e-mailSYNOPSIS¶
stg mail [options] [<patch1>] [<patch2>] [<patch3>..<patch4>]
DESCRIPTION¶
Send a patch or a range of patches by e-mail using the SMTP server specified by the stgit.smtpserver configuration option, or the --smtp-server command line option. This option can also be an absolute path to sendmail followed by command line arguments.%(diffstat)s - diff statistics %(number)s - empty if only one patch is sent or ' patchnr/totalnr' %(patchnr)s - patch number %(sender)s - 'sender' or 'authname <authemail>' as per the config file %(totalnr)s - total number of patches to be sent %(version)s - ' version' string passed on the command line (or empty)
%(shortlog)s - first line of each patch description, listed by author
%(authdate)s - patch creation date %(authemail)s - author's email %(authname)s - author's name %(commemail)s - committer's e-mail %(commname)s - committer's name %(diff)s - unified diff of the patch %(fromauth)s - 'From: author\n\n' if different from sender %(longdescr)s - the rest of the patch description, after the first line %(patch)s - patch name %(prefix)s - 'prefix ' string passed on the command line %(shortdescr)s - the first line of the patch description
OPTIONS¶
-a, --allE-mail all the applied patches.
--to TO
Add TO to the To: list.
--cc CC
Add CC to the Cc: list.
--bcc BCC
Add BCC to the Bcc: list.
--auto
Automatically cc the patch signers.
--noreply
Do not send subsequent messages as
replies.
--unrelated
Send patches without sequence numbering.
--attach
Send a patch as attachment.
-v VERSION, --version VERSION
Add VERSION to the [PATCH ...] prefix.
--prefix PREFIX
Add PREFIX to the [... PATCH ...]
prefix.
-t FILE, --template FILE
Use FILE as the message template.
-c FILE, --cover FILE
Send FILE as the cover message.
-e, --edit-cover
Edit the cover message before sending.
-E, --edit-patches
Edit each patch before sending.
-s SECONDS, --sleep SECONDS
Sleep for SECONDS between e-mails
sending.
--refid REFID
Use REFID as the reference id.
--smtp-server HOST[:PORT] or "/path/to/sendmail -t -i"
SMTP server or command to use for sending
mail.
-u USER, --smtp-user USER
Username for SMTP authentication.
-p PASSWORD, --smtp-password PASSWORD
Password for SMTP authentication.
-T, --smtp-tls
Use SMTP with TLS encryption.
-b BRANCH, --branch BRANCH
Use BRANCH instead of the default
branch.
-m, --mbox
Generate an mbox file instead of
sending.
-O OPTIONS, --diff-opts OPTIONS
Extra options to pass to "git
diff".
STGIT¶
Part of the StGit suite - see linkman:stg[1]03/13/2012 | StGit |