[PATCH] New git-apply test cases for scanning forwards and backwards.
[git.git] / Documentation / git-send-email-script.txt
1 git-send-email-script(1)
2 =======================
3 v0.1, July 2005
4
5 NAME
6 ----
7 git-send-email-script - Send a collection of patches as emails
8
9
10 SYNOPSIS
11 --------
12 'git-send-email-script' [options] <file|directory> [... file|directory]
13
14
15
16 DESCRIPTION
17 -----------
18 Takes the patches given on the command line and emails them out.
19
20 The header of the email is configurable by command line options.  If not
21 specified on the command line, the user will be prompted with a ReadLine
22 enabled interface to provide the necessary information.
23
24 The options available are:
25
26   --to
27         Specify the primary recipient of the emails generated.
28         Generally, this will be the upstream maintainer of the
29         project involved.
30
31    --from
32         Specify the sender of the emails.  This will default to
33         the value GIT_COMMITTER_IDENT, as returned by "git-var -l".
34         The user will still be prompted to confirm this entry.
35
36    --subject
37         Specify the initial subject of the email thread.
38
39    --in-reply-to
40         Specify the contents of the first In-Reply-To header.
41         Subsequent emails will refer to the previous email 
42         instead of this.
43         When overriding on the command line, it may be necessary
44         to set this to a space.  For example
45                 --in-reply-to=" "
46
47    --chain-reply-to, --no-chain-reply-to
48         If this is set, each email will be sent as a reply to the previous
49         email sent.  If disabled with "--no-chain-reply-to", all emails after
50         the first will be sent as replies to the first email sent.  When using
51         this, it is recommended that the first file given be an overview of the
52         entire patch series.
53         Default is --chain-reply-to
54
55    --smtp-server
56         If set, specifies the outgoing SMTP server to use.  Defaults to
57         localhost.
58
59
60 Author
61 ------
62 Written by Ryan Anderson <ryan@michonline.com>
63
64 git-send-email-script is originally based upon
65 send_lots_of_email.pl by Greg Kroah-Hartman.
66
67 Documentation
68 --------------
69 Documentation by Ryan Anderson
70
71 GIT
72 ---
73 Part of the link:git.html[git] suite
74