blob: eab7c37ac8a76b9a39c26a02dc8f1c4b83f38a15 [file] [log] [blame]
Junio C Hamano96153bf2018-04-25 08:25:341<?xml version="1.0" encoding="UTF-8"?>
Junio C Hamano1a4e8412005-12-27 08:17:232<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5<head>
Junio C Hamano9d971152012-12-19 00:43:116<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
Junio C Hamanoa85030a2022-07-27 16:48:217<meta name="generator" content="AsciiDoc 10.2.0" />
Junio C Hamano68cf15a2010-11-06 01:01:598<title>git-send-email(1)</title>
Junio C Hamano1a4e8412005-12-27 08:17:239<style type="text/css">
Junio C Hamano9d971152012-12-19 00:43:1110/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
11
12/* Default font. */
13body {
14 font-family: Georgia,serif;
15}
16
17/* Title font. */
18h1, h2, h3, h4, h5, h6,
19div.title, caption.title,
20thead, p.table.header,
21#toctitle,
22#author, #revnumber, #revdate, #revremark,
23#footer {
24 font-family: Arial,Helvetica,sans-serif;
Junio C Hamano1a4e8412005-12-27 08:17:2325}
26
27body {
28 margin: 1em 5% 1em 5%;
29}
30
Junio C Hamano9e395072008-07-31 22:11:2131a {
32 color: blue;
33 text-decoration: underline;
34}
35a:visited {
36 color: fuchsia;
37}
Junio C Hamano1a4e8412005-12-27 08:17:2338
39em {
40 font-style: italic;
Junio C Hamano68cf15a2010-11-06 01:01:5941 color: navy;
Junio C Hamano1a4e8412005-12-27 08:17:2342}
43
44strong {
45 font-weight: bold;
Junio C Hamano68cf15a2010-11-06 01:01:5946 color: #083194;
Junio C Hamano1a4e8412005-12-27 08:17:2347}
48
Junio C Hamano1a4e8412005-12-27 08:17:2349h1, h2, h3, h4, h5, h6 {
50 color: #527bbd;
Junio C Hamano1a4e8412005-12-27 08:17:2351 margin-top: 1.2em;
52 margin-bottom: 0.5em;
53 line-height: 1.3;
54}
55
Junio C Hamano9e395072008-07-31 22:11:2156h1, h2, h3 {
Junio C Hamano1a4e8412005-12-27 08:17:2357 border-bottom: 2px solid silver;
58}
59h2 {
Junio C Hamano1a4e8412005-12-27 08:17:2360 padding-top: 0.5em;
61}
Junio C Hamano9e395072008-07-31 22:11:2162h3 {
63 float: left;
64}
65h3 + * {
66 clear: left;
67}
Junio C Hamano9d971152012-12-19 00:43:1168h5 {
69 font-size: 1.0em;
70}
Junio C Hamano1a4e8412005-12-27 08:17:2371
72div.sectionbody {
Junio C Hamano1a4e8412005-12-27 08:17:2373 margin-left: 0;
74}
75
76hr {
77 border: 1px solid silver;
78}
79
80p {
81 margin-top: 0.5em;
82 margin-bottom: 0.5em;
83}
84
Junio C Hamano68cf15a2010-11-06 01:01:5985ul, ol, li > p {
86 margin-top: 0;
87}
Junio C Hamano9d971152012-12-19 00:43:1188ul > li { color: #aaa; }
89ul > li > * { color: black; }
Junio C Hamano68cf15a2010-11-06 01:01:5990
Junio C Hamanoc14e6ad2014-10-31 20:25:5391.monospaced, code, pre {
92 font-family: "Courier New", Courier, monospace;
93 font-size: inherit;
94 color: navy;
Junio C Hamano1a4e8412005-12-27 08:17:2395 padding: 0;
96 margin: 0;
97}
Junio C Hamanoc14e6ad2014-10-31 20:25:5398pre {
99 white-space: pre-wrap;
100}
Junio C Hamano1a4e8412005-12-27 08:17:23101
Junio C Hamano9d971152012-12-19 00:43:11102#author {
Junio C Hamano1a4e8412005-12-27 08:17:23103 color: #527bbd;
Junio C Hamano1a4e8412005-12-27 08:17:23104 font-weight: bold;
Junio C Hamano9e395072008-07-31 22:11:21105 font-size: 1.1em;
Junio C Hamano1a4e8412005-12-27 08:17:23106}
Junio C Hamano9d971152012-12-19 00:43:11107#email {
Junio C Hamano1a4e8412005-12-27 08:17:23108}
Junio C Hamano9d971152012-12-19 00:43:11109#revnumber, #revdate, #revremark {
Junio C Hamano1a4e8412005-12-27 08:17:23110}
111
Junio C Hamano9d971152012-12-19 00:43:11112#footer {
Junio C Hamano1a4e8412005-12-27 08:17:23113 font-size: small;
114 border-top: 2px solid silver;
115 padding-top: 0.5em;
116 margin-top: 4.0em;
117}
Junio C Hamano9d971152012-12-19 00:43:11118#footer-text {
Junio C Hamano1a4e8412005-12-27 08:17:23119 float: left;
120 padding-bottom: 0.5em;
121}
Junio C Hamano9d971152012-12-19 00:43:11122#footer-badges {
Junio C Hamano1a4e8412005-12-27 08:17:23123 float: right;
124 padding-bottom: 0.5em;
125}
126
Junio C Hamano9d971152012-12-19 00:43:11127#preamble {
Junio C Hamano68cf15a2010-11-06 01:01:59128 margin-top: 1.5em;
129 margin-bottom: 1.5em;
130}
Junio C Hamano9d971152012-12-19 00:43:11131div.imageblock, div.exampleblock, div.verseblock,
Junio C Hamano1a4e8412005-12-27 08:17:23132div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
133div.admonitionblock {
Junio C Hamano7bd050f2011-09-22 06:32:22134 margin-top: 1.0em;
Junio C Hamano1a4e8412005-12-27 08:17:23135 margin-bottom: 1.5em;
136}
137div.admonitionblock {
Junio C Hamano7bd050f2011-09-22 06:32:22138 margin-top: 2.0em;
139 margin-bottom: 2.0em;
140 margin-right: 10%;
141 color: #606060;
Junio C Hamano1a4e8412005-12-27 08:17:23142}
143
144div.content { /* Block element content. */
145 padding: 0;
146}
147
148/* Block element titles. */
149div.title, caption.title {
Junio C Hamano68cf15a2010-11-06 01:01:59150 color: #527bbd;
Junio C Hamano1a4e8412005-12-27 08:17:23151 font-weight: bold;
152 text-align: left;
153 margin-top: 1.0em;
154 margin-bottom: 0.5em;
155}
156div.title + * {
157 margin-top: 0;
158}
159
160td div.title:first-child {
161 margin-top: 0.0em;
162}
163div.content div.title:first-child {
164 margin-top: 0.0em;
165}
166div.content + div.title {
167 margin-top: 0.0em;
168}
169
170div.sidebarblock > div.content {
171 background: #ffffee;
Junio C Hamano9d971152012-12-19 00:43:11172 border: 1px solid #dddddd;
173 border-left: 4px solid #f0f0f0;
Junio C Hamano1a4e8412005-12-27 08:17:23174 padding: 0.5em;
175}
176
177div.listingblock > div.content {
Junio C Hamano9d971152012-12-19 00:43:11178 border: 1px solid #dddddd;
179 border-left: 5px solid #f0f0f0;
180 background: #f8f8f8;
Junio C Hamano1a4e8412005-12-27 08:17:23181 padding: 0.5em;
182}
183
Junio C Hamano7bd050f2011-09-22 06:32:22184div.quoteblock, div.verseblock {
185 padding-left: 1.0em;
186 margin-left: 1.0em;
Junio C Hamano68cf15a2010-11-06 01:01:59187 margin-right: 10%;
Junio C Hamano9d971152012-12-19 00:43:11188 border-left: 5px solid #f0f0f0;
189 color: #888;
Junio C Hamano1a4e8412005-12-27 08:17:23190}
Junio C Hamano7bd050f2011-09-22 06:32:22191
Junio C Hamano68cf15a2010-11-06 01:01:59192div.quoteblock > div.attribution {
193 padding-top: 0.5em;
Junio C Hamano1a4e8412005-12-27 08:17:23194 text-align: right;
195}
Junio C Hamano68cf15a2010-11-06 01:01:59196
Junio C Hamano9d971152012-12-19 00:43:11197div.verseblock > pre.content {
198 font-family: inherit;
199 font-size: inherit;
Junio C Hamano68cf15a2010-11-06 01:01:59200}
201div.verseblock > div.attribution {
202 padding-top: 0.75em;
203 text-align: left;
204}
205/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
Junio C Hamano9e395072008-07-31 22:11:21206div.verseblock + div.attribution {
207 text-align: left;
208}
Junio C Hamano1a4e8412005-12-27 08:17:23209
210div.admonitionblock .icon {
211 vertical-align: top;
212 font-size: 1.1em;
213 font-weight: bold;
214 text-decoration: underline;
215 color: #527bbd;
216 padding-right: 0.5em;
217}
218div.admonitionblock td.content {
219 padding-left: 0.5em;
Junio C Hamano7bd050f2011-09-22 06:32:22220 border-left: 3px solid #dddddd;
Junio C Hamano1a4e8412005-12-27 08:17:23221}
222
223div.exampleblock > div.content {
Junio C Hamano7bd050f2011-09-22 06:32:22224 border-left: 3px solid #dddddd;
225 padding-left: 0.5em;
Junio C Hamano1a4e8412005-12-27 08:17:23226}
227
Junio C Hamano1a4e8412005-12-27 08:17:23228div.imageblock div.content { padding-left: 0; }
Junio C Hamanoc14e6ad2014-10-31 20:25:53229span.image img { border-style: none; vertical-align: text-bottom; }
Junio C Hamano68cf15a2010-11-06 01:01:59230a.image:visited { color: white; }
Junio C Hamano1a4e8412005-12-27 08:17:23231
232dl {
233 margin-top: 0.8em;
234 margin-bottom: 0.8em;
235}
236dt {
237 margin-top: 0.5em;
238 margin-bottom: 0;
Junio C Hamano68cf15a2010-11-06 01:01:59239 font-style: normal;
240 color: navy;
Junio C Hamano1a4e8412005-12-27 08:17:23241}
242dd > *:first-child {
Junio C Hamano68cf15a2010-11-06 01:01:59243 margin-top: 0.1em;
Junio C Hamano1a4e8412005-12-27 08:17:23244}
245
246ul, ol {
247 list-style-position: outside;
248}
Junio C Hamano68cf15a2010-11-06 01:01:59249ol.arabic {
250 list-style-type: decimal;
251}
252ol.loweralpha {
Junio C Hamano1a4e8412005-12-27 08:17:23253 list-style-type: lower-alpha;
254}
Junio C Hamano68cf15a2010-11-06 01:01:59255ol.upperalpha {
256 list-style-type: upper-alpha;
257}
258ol.lowerroman {
259 list-style-type: lower-roman;
260}
261ol.upperroman {
262 list-style-type: upper-roman;
263}
264
265div.compact ul, div.compact ol,
266div.compact p, div.compact p,
267div.compact div, div.compact div {
268 margin-top: 0.1em;
269 margin-bottom: 0.1em;
270}
Junio C Hamano1a4e8412005-12-27 08:17:23271
Junio C Hamano1a4e8412005-12-27 08:17:23272tfoot {
273 font-weight: bold;
274}
Junio C Hamano68cf15a2010-11-06 01:01:59275td > div.verse {
276 white-space: pre;
277}
Junio C Hamano68cf15a2010-11-06 01:01:59278
279div.hdlist {
Junio C Hamano1a4e8412005-12-27 08:17:23280 margin-top: 0.8em;
281 margin-bottom: 0.8em;
282}
Junio C Hamano68cf15a2010-11-06 01:01:59283div.hdlist tr {
284 padding-bottom: 15px;
Junio C Hamano9e395072008-07-31 22:11:21285}
Junio C Hamano68cf15a2010-11-06 01:01:59286dt.hdlist1.strong, td.hdlist1.strong {
287 font-weight: bold;
288}
289td.hdlist1 {
Junio C Hamano1a4e8412005-12-27 08:17:23290 vertical-align: top;
Junio C Hamano68cf15a2010-11-06 01:01:59291 font-style: normal;
Junio C Hamano1a4e8412005-12-27 08:17:23292 padding-right: 0.8em;
Junio C Hamano68cf15a2010-11-06 01:01:59293 color: navy;
Junio C Hamano1a4e8412005-12-27 08:17:23294}
Junio C Hamano68cf15a2010-11-06 01:01:59295td.hdlist2 {
Junio C Hamano1a4e8412005-12-27 08:17:23296 vertical-align: top;
297}
Junio C Hamano68cf15a2010-11-06 01:01:59298div.hdlist.compact tr {
299 margin: 0;
300 padding-bottom: 0;
301}
302
303.comment {
304 background: yellow;
305}
Junio C Hamano1a4e8412005-12-27 08:17:23306
Junio C Hamano7bd050f2011-09-22 06:32:22307.footnote, .footnoteref {
308 font-size: 0.8em;
309}
310
311span.footnote, span.footnoteref {
312 vertical-align: super;
313}
314
315#footnotes {
316 margin: 20px 0 20px 0;
317 padding: 7px 0 0 0;
318}
319
320#footnotes div.footnote {
321 margin: 0 0 5px 0;
322}
323
324#footnotes hr {
325 border: none;
326 border-top: 1px solid silver;
327 height: 1px;
328 text-align: left;
329 margin-left: 0;
330 width: 20%;
331 min-width: 100px;
332}
333
Junio C Hamano9d971152012-12-19 00:43:11334div.colist td {
335 padding-right: 0.5em;
336 padding-bottom: 0.3em;
337 vertical-align: top;
338}
339div.colist td img {
340 margin-top: 0.3em;
Junio C Hamano1a4e8412005-12-27 08:17:23341}
Junio C Hamano9e395072008-07-31 22:11:21342
Junio C Hamano9d971152012-12-19 00:43:11343@media print {
344 #footer-badges { display: none; }
345}
346
347#toc {
Junio C Hamano7bd050f2011-09-22 06:32:22348 margin-bottom: 2.5em;
349}
350
Junio C Hamano9d971152012-12-19 00:43:11351#toctitle {
Junio C Hamano9e395072008-07-31 22:11:21352 color: #527bbd;
Junio C Hamano9e395072008-07-31 22:11:21353 font-size: 1.1em;
354 font-weight: bold;
355 margin-top: 1.0em;
356 margin-bottom: 0.1em;
357}
358
Junio C Hamanoc14e6ad2014-10-31 20:25:53359div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
Junio C Hamano9e395072008-07-31 22:11:21360 margin-top: 0;
361 margin-bottom: 0;
362}
363div.toclevel2 {
364 margin-left: 2em;
365 font-size: 0.9em;
366}
367div.toclevel3 {
368 margin-left: 4em;
369 font-size: 0.9em;
370}
371div.toclevel4 {
372 margin-left: 6em;
373 font-size: 0.9em;
374}
Junio C Hamano9d971152012-12-19 00:43:11375
376span.aqua { color: aqua; }
377span.black { color: black; }
378span.blue { color: blue; }
379span.fuchsia { color: fuchsia; }
380span.gray { color: gray; }
381span.green { color: green; }
382span.lime { color: lime; }
383span.maroon { color: maroon; }
384span.navy { color: navy; }
385span.olive { color: olive; }
386span.purple { color: purple; }
387span.red { color: red; }
388span.silver { color: silver; }
389span.teal { color: teal; }
390span.white { color: white; }
391span.yellow { color: yellow; }
392
393span.aqua-background { background: aqua; }
394span.black-background { background: black; }
395span.blue-background { background: blue; }
396span.fuchsia-background { background: fuchsia; }
397span.gray-background { background: gray; }
398span.green-background { background: green; }
399span.lime-background { background: lime; }
400span.maroon-background { background: maroon; }
401span.navy-background { background: navy; }
402span.olive-background { background: olive; }
403span.purple-background { background: purple; }
404span.red-background { background: red; }
405span.silver-background { background: silver; }
406span.teal-background { background: teal; }
407span.white-background { background: white; }
408span.yellow-background { background: yellow; }
409
410span.big { font-size: 2em; }
411span.small { font-size: 0.6em; }
412
413span.underline { text-decoration: underline; }
414span.overline { text-decoration: overline; }
415span.line-through { text-decoration: line-through; }
416
Junio C Hamanoc14e6ad2014-10-31 20:25:53417div.unbreakable { page-break-inside: avoid; }
418
Junio C Hamano9d971152012-12-19 00:43:11419
420/*
421 * xhtml11 specific
422 *
423 * */
424
425div.tableblock {
426 margin-top: 1.0em;
427 margin-bottom: 1.5em;
428}
429div.tableblock > table {
430 border: 3px solid #527bbd;
431}
432thead, p.table.header {
433 font-weight: bold;
434 color: #527bbd;
435}
436p.table {
437 margin-top: 0;
438}
Junio C Hamano725b0da2020-01-22 22:02:40439/* Because the table frame attribute is overridden by CSS in most browsers. */
Junio C Hamano9d971152012-12-19 00:43:11440div.tableblock > table[frame="void"] {
441 border-style: none;
442}
443div.tableblock > table[frame="hsides"] {
444 border-left-style: none;
445 border-right-style: none;
446}
447div.tableblock > table[frame="vsides"] {
448 border-top-style: none;
449 border-bottom-style: none;
450}
451
452
453/*
454 * html5 specific
455 *
456 * */
457
458table.tableblock {
459 margin-top: 1.0em;
460 margin-bottom: 1.5em;
461}
462thead, p.tableblock.header {
463 font-weight: bold;
464 color: #527bbd;
465}
466p.tableblock {
467 margin-top: 0;
468}
469table.tableblock {
470 border-width: 3px;
471 border-spacing: 0px;
472 border-style: solid;
473 border-color: #527bbd;
474 border-collapse: collapse;
475}
476th.tableblock, td.tableblock {
477 border-width: 1px;
478 padding: 4px;
479 border-style: solid;
480 border-color: #527bbd;
481}
482
483table.tableblock.frame-topbot {
484 border-left-style: hidden;
485 border-right-style: hidden;
486}
487table.tableblock.frame-sides {
488 border-top-style: hidden;
489 border-bottom-style: hidden;
490}
491table.tableblock.frame-none {
492 border-style: hidden;
493}
494
495th.tableblock.halign-left, td.tableblock.halign-left {
496 text-align: left;
497}
498th.tableblock.halign-center, td.tableblock.halign-center {
499 text-align: center;
500}
501th.tableblock.halign-right, td.tableblock.halign-right {
502 text-align: right;
503}
504
505th.tableblock.valign-top, td.tableblock.valign-top {
506 vertical-align: top;
507}
508th.tableblock.valign-middle, td.tableblock.valign-middle {
509 vertical-align: middle;
510}
511th.tableblock.valign-bottom, td.tableblock.valign-bottom {
512 vertical-align: bottom;
513}
514
515
516/*
517 * manpage specific
518 *
519 * */
520
521body.manpage h1 {
Junio C Hamano68cf15a2010-11-06 01:01:59522 padding-top: 0.5em;
523 padding-bottom: 0.5em;
524 border-top: 2px solid silver;
525 border-bottom: 2px solid silver;
526}
Junio C Hamano9d971152012-12-19 00:43:11527body.manpage h2 {
Junio C Hamano68cf15a2010-11-06 01:01:59528 border-style: none;
529}
Junio C Hamano9d971152012-12-19 00:43:11530body.manpage div.sectionbody {
531 margin-left: 3em;
Junio C Hamano68cf15a2010-11-06 01:01:59532}
533
534@media print {
Junio C Hamano9d971152012-12-19 00:43:11535 body.manpage div#toc { display: none; }
Junio C Hamano68cf15a2010-11-06 01:01:59536}
Junio C Hamanoc14e6ad2014-10-31 20:25:53537
538
Junio C Hamano1a4e8412005-12-27 08:17:23539</style>
Junio C Hamano7bd050f2011-09-22 06:32:22540<script type="text/javascript">
541/*<![CDATA[*/
Junio C Hamano2b153182021-12-15 21:00:31542var asciidoc = { // Namespace.
543
544/////////////////////////////////////////////////////////////////////
545// Table Of Contents generator
546/////////////////////////////////////////////////////////////////////
547
548/* Author: Mihai Bazon, September 2002
549 * http://students.infoiasi.ro/~mishoo
550 *
551 * Table Of Content generator
552 * Version: 0.4
553 *
554 * Feel free to use this script under the terms of the GNU General Public
555 * License, as long as you do not remove or alter this notice.
556 */
557
558 /* modified by Troy D. Hanson, September 2006. License: GPL */
559 /* modified by Stuart Rackham, 2006, 2009. License: GPL */
560
561// toclevels = 1..4.
562toc: function (toclevels) {
563
564 function getText(el) {
565 var text = "";
566 for (var i = el.firstChild; i != null; i = i.nextSibling) {
567 if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
568 text += i.data;
569 else if (i.firstChild != null)
570 text += getText(i);
571 }
572 return text;
573 }
574
575 function TocEntry(el, text, toclevel) {
576 this.element = el;
577 this.text = text;
578 this.toclevel = toclevel;
579 }
580
581 function tocEntries(el, toclevels) {
582 var result = new Array;
583 var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
584 // Function that scans the DOM tree for header elements (the DOM2
585 // nodeIterator API would be a better technique but not supported by all
586 // browsers).
587 var iterate = function (el) {
588 for (var i = el.firstChild; i != null; i = i.nextSibling) {
589 if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
590 var mo = re.exec(i.tagName);
591 if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
592 result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
593 }
594 iterate(i);
595 }
596 }
597 }
598 iterate(el);
599 return result;
600 }
601
602 var toc = document.getElementById("toc");
603 if (!toc) {
604 return;
605 }
606
607 // Delete existing TOC entries in case we're reloading the TOC.
608 var tocEntriesToRemove = [];
609 var i;
610 for (i = 0; i < toc.childNodes.length; i++) {
611 var entry = toc.childNodes[i];
612 if (entry.nodeName.toLowerCase() == 'div'
613 && entry.getAttribute("class")
614 && entry.getAttribute("class").match(/^toclevel/))
615 tocEntriesToRemove.push(entry);
616 }
617 for (i = 0; i < tocEntriesToRemove.length; i++) {
618 toc.removeChild(tocEntriesToRemove[i]);
619 }
620
621 // Rebuild TOC entries.
622 var entries = tocEntries(document.getElementById("content"), toclevels);
623 for (var i = 0; i < entries.length; ++i) {
624 var entry = entries[i];
625 if (entry.element.id == "")
626 entry.element.id = "_toc_" + i;
627 var a = document.createElement("a");
628 a.href = "#" + entry.element.id;
629 a.appendChild(document.createTextNode(entry.text));
630 var div = document.createElement("div");
631 div.appendChild(a);
632 div.className = "toclevel" + entry.toclevel;
633 toc.appendChild(div);
634 }
635 if (entries.length == 0)
636 toc.parentNode.removeChild(toc);
637},
638
639
640/////////////////////////////////////////////////////////////////////
641// Footnotes generator
642/////////////////////////////////////////////////////////////////////
643
644/* Based on footnote generation code from:
645 * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
646 */
647
648footnotes: function () {
649 // Delete existing footnote entries in case we're reloading the footnodes.
650 var i;
651 var noteholder = document.getElementById("footnotes");
652 if (!noteholder) {
653 return;
654 }
655 var entriesToRemove = [];
656 for (i = 0; i < noteholder.childNodes.length; i++) {
657 var entry = noteholder.childNodes[i];
658 if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
659 entriesToRemove.push(entry);
660 }
661 for (i = 0; i < entriesToRemove.length; i++) {
662 noteholder.removeChild(entriesToRemove[i]);
663 }
664
665 // Rebuild footnote entries.
666 var cont = document.getElementById("content");
667 var spans = cont.getElementsByTagName("span");
668 var refs = {};
669 var n = 0;
670 for (i=0; i<spans.length; i++) {
671 if (spans[i].className == "footnote") {
672 n++;
673 var note = spans[i].getAttribute("data-note");
674 if (!note) {
675 // Use [\s\S] in place of . so multi-line matches work.
676 // Because JavaScript has no s (dotall) regex flag.
677 note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];
678 spans[i].innerHTML =
679 "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +
680 "' title='View footnote' class='footnote'>" + n + "</a>]";
681 spans[i].setAttribute("data-note", note);
682 }
683 noteholder.innerHTML +=
684 "<div class='footnote' id='_footnote_" + n + "'>" +
685 "<a href='#_footnoteref_" + n + "' title='Return to text'>" +
686 n + "</a>. " + note + "</div>";
687 var id =spans[i].getAttribute("id");
688 if (id != null) refs["#"+id] = n;
689 }
690 }
691 if (n == 0)
692 noteholder.parentNode.removeChild(noteholder);
693 else {
694 // Process footnoterefs.
695 for (i=0; i<spans.length; i++) {
696 if (spans[i].className == "footnoteref") {
697 var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");
698 href = href.match(/#.*/)[0]; // Because IE return full URL.
699 n = refs[href];
700 spans[i].innerHTML =
701 "[<a href='#_footnote_" + n +
702 "' title='View footnote' class='footnote'>" + n + "</a>]";
703 }
704 }
705 }
706},
707
708install: function(toclevels) {
709 var timerId;
710
711 function reinstall() {
712 asciidoc.footnotes();
713 if (toclevels) {
714 asciidoc.toc(toclevels);
715 }
716 }
717
718 function reinstallAndRemoveTimer() {
719 clearInterval(timerId);
720 reinstall();
721 }
722
723 timerId = setInterval(reinstall, 500);
724 if (document.addEventListener)
725 document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);
726 else
727 window.onload = reinstallAndRemoveTimer;
728}
729
730}
Junio C Hamano9d971152012-12-19 00:43:11731asciidoc.install();
Junio C Hamano7bd050f2011-09-22 06:32:22732/*]]>*/
733</script>
Junio C Hamano1a4e8412005-12-27 08:17:23734</head>
Junio C Hamano9d971152012-12-19 00:43:11735<body class="manpage">
Junio C Hamano1a4e8412005-12-27 08:17:23736<div id="header">
737<h1>
738git-send-email(1) Manual Page
739</h1>
740<h2>NAME</h2>
741<div class="sectionbody">
742<p>git-send-email -
743 Send a collection of patches as emails
744</p>
745</div>
746</div>
Junio C Hamano7bd050f2011-09-22 06:32:22747<div id="content">
Junio C Hamano9d971152012-12-19 00:43:11748<div class="sect1">
Junio C Hamano68cf15a2010-11-06 01:01:59749<h2 id="_synopsis">SYNOPSIS</h2>
Junio C Hamano1a4e8412005-12-27 08:17:23750<div class="sectionbody">
Junio C Hamano15567bc2011-07-23 00:51:59751<div class="verseblock">
Junio C Hamanof24d6b52021-11-29 23:56:22752<pre class="content"><em>git send-email</em> [&lt;options&gt;] &lt;file|directory&gt;&#8230;
753<em>git send-email</em> [&lt;options&gt;] &lt;format-patch options&gt;
Junio C Hamanoabb8a052015-12-04 22:43:11754<em>git send-email</em> --dump-aliases</pre>
Junio C Hamano9d971152012-12-19 00:43:11755<div class="attribution">
Junio C Hamano15567bc2011-07-23 00:51:59756</div></div>
Junio C Hamano1a4e8412005-12-27 08:17:23757</div>
Junio C Hamano9d971152012-12-19 00:43:11758</div>
759<div class="sect1">
Junio C Hamano9e395072008-07-31 22:11:21760<h2 id="_description">DESCRIPTION</h2>
Junio C Hamano1a4e8412005-12-27 08:17:23761<div class="sectionbody">
Junio C Hamano68cf15a2010-11-06 01:01:59762<div class="paragraph"><p>Takes the patches given on the command line and emails them out.
Junio C Hamanob95b43d2009-06-12 08:57:28763Patches can be specified as files, directories (which will send all
764files in the directory), or directly as a revision list. In the
Junio C Hamanoa28a9202012-06-21 07:08:23765last case, any format accepted by <a href="git-format-patch.html">git-format-patch(1)</a> can
Junio C Hamanof24d6b52021-11-29 23:56:22766be passed to git send-email, as well as options understood by
767<a href="git-format-patch.html">git-format-patch(1)</a>.</p></div>
Junio C Hamanoe1aeb5e2014-06-06 19:16:29768<div class="paragraph"><p>The header of the email is configurable via command-line options. If not
Junio C Hamano1a4e8412005-12-27 08:17:23769specified on the command line, the user will be prompted with a ReadLine
Junio C Hamano9e395072008-07-31 22:11:21770enabled interface to provide the necessary information.</p></div>
Junio C Hamano68cf15a2010-11-06 01:01:59771<div class="paragraph"><p>There are two formats accepted for patch files:</p></div>
772<div class="olist arabic"><ol class="arabic">
Junio C Hamanoa6455f62009-02-20 08:33:08773<li>
774<p>
775mbox format files
776</p>
Junio C Hamanoa28a9202012-06-21 07:08:23777<div class="paragraph"><p>This is what <a href="git-format-patch.html">git-format-patch(1)</a> generates. Most headers and MIME
Junio C Hamanoa6455f62009-02-20 08:33:08778formatting are ignored.</p></div>
779</li>
780<li>
781<p>
Junio C Hamano68cf15a2010-11-06 01:01:59782The original format used by Greg Kroah-Hartman&#8217;s <em>send_lots_of_email.pl</em>
Junio C Hamano2567b322019-02-05 23:33:56783 script
Junio C Hamanoa6455f62009-02-20 08:33:08784</p>
Junio C Hamano68cf15a2010-11-06 01:01:59785<div class="paragraph"><p>This format expects the first line of the file to contain the "Cc:" value
Junio C Hamanoa6455f62009-02-20 08:33:08786and the "Subject:" of the message as the second line.</p></div>
787</li>
788</ol></div>
Junio C Hamano1a4e8412005-12-27 08:17:23789</div>
Junio C Hamano9d971152012-12-19 00:43:11790</div>
791<div class="sect1">
Junio C Hamano9e395072008-07-31 22:11:21792<h2 id="_options">OPTIONS</h2>
Junio C Hamano1a4e8412005-12-27 08:17:23793<div class="sectionbody">
Junio C Hamano9d971152012-12-19 00:43:11794<div class="sect2">
795<h3 id="_composing">Composing</h3>
Junio C Hamano68cf15a2010-11-06 01:01:59796<div class="dlist"><dl>
797<dt class="hdlist1">
Junio C Hamano3d141512009-06-01 01:22:40798--annotate
799</dt>
800<dd>
801<p>
Junio C Hamanoea3b7522013-04-18 19:37:53802 Review and edit each patch you&#8217;re about to send. Default is the value
Junio C Hamano042f2142016-06-27 18:05:05803 of <code>sendemail.annotate</code>. See the CONFIGURATION section for
804 <code>sendemail.multiEdit</code>.
Junio C Hamano3d141512009-06-01 01:22:40805</p>
806</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59807<dt class="hdlist1">
Junio C Hamanod7ed4042015-08-03 19:43:00808--bcc=&lt;address&gt;,&#8230;
Junio C Hamano97f518c2006-06-22 19:49:35809</dt>
810<dd>
811<p>
Junio C Hamanoa476efa2008-10-10 15:31:42812 Specify a "Bcc:" value for each email. Default is the value of
Junio C Hamano042f2142016-06-27 18:05:05813 <code>sendemail.bcc</code>.
Junio C Hamano97f518c2006-06-22 19:49:35814</p>
Junio C Hamanod7ed4042015-08-03 19:43:00815<div class="paragraph"><p>This option may be specified multiple times.</p></div>
Junio C Hamano97f518c2006-06-22 19:49:35816</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59817<dt class="hdlist1">
Junio C Hamanod7ed4042015-08-03 19:43:00818--cc=&lt;address&gt;,&#8230;
Junio C Hamanoc9154122006-02-15 02:22:06819</dt>
820<dd>
821<p>
822 Specify a starting "Cc:" value for each email.
Junio C Hamano042f2142016-06-27 18:05:05823 Default is the value of <code>sendemail.cc</code>.
Junio C Hamanoc9154122006-02-15 02:22:06824</p>
Junio C Hamanod7ed4042015-08-03 19:43:00825<div class="paragraph"><p>This option may be specified multiple times.</p></div>
Junio C Hamanoc9154122006-02-15 02:22:06826</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59827<dt class="hdlist1">
Junio C Hamano86f75882006-02-06 02:27:23828--compose
829</dt>
830<dd>
831<p>
Junio C Hamanoa28a9202012-06-21 07:08:23832 Invoke a text editor (see GIT_EDITOR in <a href="git-var.html">git-var(1)</a>)
Junio C Hamano3b70d3c2009-11-21 17:37:37833 to edit an introductory message for the patch series.
Junio C Hamano1a4e8412005-12-27 08:17:23834</p>
Junio C Hamano92d80372016-07-13 22:00:05835<div class="paragraph"><p>When <code>--compose</code> is used, git send-email will use the From, Subject, and
Junio C Hamanoea82cff2009-03-18 01:54:48836In-Reply-To headers specified in the message. If the body of the message
837(what you type after the headers and a blank line) only contains blank
Junio C Hamanoe1aeb5e2014-06-06 19:16:29838(or Git: prefixed) lines, the summary won&#8217;t be sent, but From, Subject,
Junio C Hamanoea82cff2009-03-18 01:54:48839and In-Reply-To headers will be used unless they are removed.</p></div>
Junio C Hamano68cf15a2010-11-06 01:01:59840<div class="paragraph"><p>Missing From or In-Reply-To headers will be prompted for.</p></div>
Junio C Hamano042f2142016-06-27 18:05:05841<div class="paragraph"><p>See the CONFIGURATION section for <code>sendemail.multiEdit</code>.</p></div>
Junio C Hamano1a4e8412005-12-27 08:17:23842</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59843<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:32844--from=&lt;address&gt;
Junio C Hamano1a4e8412005-12-27 08:17:23845</dt>
846<dd>
847<p>
Junio C Hamano7ae18252009-05-23 09:53:32848 Specify the sender of the emails. If not specified on the command line,
Junio C Hamano042f2142016-06-27 18:05:05849 the value of the <code>sendemail.from</code> configuration option is used. If
850 neither the command-line option nor <code>sendemail.from</code> are set, then the
Junio C Hamano7ae18252009-05-23 09:53:32851 user will be prompted for the value. The default for the prompt will be
852 the value of GIT_AUTHOR_IDENT, or GIT_COMMITTER_IDENT if that is not
853 set, as returned by "git var -l".
Junio C Hamano1a4e8412005-12-27 08:17:23854</p>
855</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59856<dt class="hdlist1">
Junio C Hamano8b40d4b2018-03-15 22:52:33857--reply-to=&lt;address&gt;
858</dt>
859<dd>
860<p>
861 Specify the address where replies from recipients should go to.
862 Use this if replies to messages should go to another address than what
863 is specified with the --from parameter.
864</p>
865</dd>
866<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:32867--in-reply-to=&lt;identifier&gt;
Junio C Hamano1a4e8412005-12-27 08:17:23868</dt>
869<dd>
870<p>
Junio C Hamanoc14e6ad2014-10-31 20:25:53871 Make the first mail (or all the mails with <code>--no-thread</code>) appear as a
Junio C Hamano3a9663e2023-04-11 20:54:14872 reply to the given Message-ID, which avoids breaking threads to
Junio C Hamano97bcb482010-11-25 03:16:07873 provide a new patch series.
874 The second and subsequent emails will be sent as replies according to
Junio C Hamanocb06ef92017-03-21 22:40:14875 the <code>--[no-]chain-reply-to</code> setting.
Junio C Hamano1a4e8412005-12-27 08:17:23876</p>
Junio C Hamanoc14e6ad2014-10-31 20:25:53877<div class="paragraph"><p>So for example when <code>--thread</code> and <code>--no-chain-reply-to</code> are specified, the
Junio C Hamano97bcb482010-11-25 03:16:07878second and subsequent patches will be replies to the first one like in the
Junio C Hamanoc14e6ad2014-10-31 20:25:53879illustration below where <code>[PATCH v2 0/3]</code> is in reply to <code>[PATCH 0/2]</code>:</p></div>
Junio C Hamano97bcb482010-11-25 03:16:07880<div class="literalblock">
881<div class="content">
Junio C Hamanoc14e6ad2014-10-31 20:25:53882<pre><code>[PATCH 0/2] Here is what I did...
Junio C Hamano97bcb482010-11-25 03:16:07883 [PATCH 1/2] Clean up and tests
884 [PATCH 2/2] Implementation
885 [PATCH v2 0/3] Here is a reroll
886 [PATCH v2 1/3] Clean up
887 [PATCH v2 2/3] New tests
Junio C Hamanoc14e6ad2014-10-31 20:25:53888 [PATCH v2 3/3] Implementation</code></pre>
Junio C Hamano97bcb482010-11-25 03:16:07889</div></div>
890<div class="paragraph"><p>Only necessary if --compose is also set. If --compose
891is not set, this will be prompted for.</p></div>
Junio C Hamano1a4e8412005-12-27 08:17:23892</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59893<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:32894--subject=&lt;string&gt;
Junio C Hamanoc9154122006-02-15 02:22:06895</dt>
896<dd>
897<p>
Junio C Hamanoa476efa2008-10-10 15:31:42898 Specify the initial subject of the email thread.
899 Only necessary if --compose is also set. If --compose
900 is not set, this will be prompted for.
Junio C Hamanoc9154122006-02-15 02:22:06901</p>
902</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59903<dt class="hdlist1">
Junio C Hamanod7ed4042015-08-03 19:43:00904--to=&lt;address&gt;,&#8230;
Junio C Hamano1a4e8412005-12-27 08:17:23905</dt>
906<dd>
907<p>
Junio C Hamanoa476efa2008-10-10 15:31:42908 Specify the primary recipient of the emails generated. Generally, this
909 will be the upstream maintainer of the project involved. Default is the
Junio C Hamano042f2142016-06-27 18:05:05910 value of the <code>sendemail.to</code> configuration value; if that is unspecified,
Junio C Hamano39c7a692010-10-27 06:08:54911 and --to-cmd is not specified, this will be prompted for.
Junio C Hamanoa476efa2008-10-10 15:31:42912</p>
Junio C Hamanod7ed4042015-08-03 19:43:00913<div class="paragraph"><p>This option may be specified multiple times.</p></div>
Junio C Hamanoa476efa2008-10-10 15:31:42914</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59915<dt class="hdlist1">
Junio C Hamano4015aed2010-06-27 20:07:42916--8bit-encoding=&lt;encoding&gt;
917</dt>
918<dd>
919<p>
920 When encountering a non-ASCII message or subject that does not
921 declare its encoding, add headers/quoting to indicate it is
922 encoded in &lt;encoding&gt;. Default is the value of the
923 <em>sendemail.assume8bitEncoding</em>; if that is unspecified, this
924 will be prompted for if any non-ASCII files are encountered.
925</p>
Junio C Hamano68cf15a2010-11-06 01:01:59926<div class="paragraph"><p>Note that no attempts whatsoever are made to validate the encoding.</p></div>
Junio C Hamano4015aed2010-06-27 20:07:42927</dd>
Junio C Hamanoa1295452012-11-13 22:32:04928<dt class="hdlist1">
929--compose-encoding=&lt;encoding&gt;
930</dt>
931<dd>
932<p>
933 Specify encoding of compose message. Default is the value of the
934 <em>sendemail.composeencoding</em>; if that is unspecified, UTF-8 is assumed.
935</p>
936</dd>
Junio C Hamano6df93d92014-12-22 22:48:09937<dt class="hdlist1">
Junio C Hamano1ff03382018-07-25 22:10:48938--transfer-encoding=(7bit|8bit|quoted-printable|base64|auto)
Junio C Hamano6df93d92014-12-22 22:48:09939</dt>
940<dd>
941<p>
942 Specify the transfer encoding to be used to send the message over SMTP.
943 7bit will fail upon encountering a non-ASCII message. quoted-printable
944 can be useful when the repository contains files that contain carriage
945 returns, but makes the raw patch email file (as saved from a MUA) much
946 harder to inspect manually. base64 is even more fool proof, but also
Junio C Hamano1ff03382018-07-25 22:10:48947 even more opaque. auto will use 8bit when possible, and quoted-printable
948 otherwise.
Junio C Hamano6df93d92014-12-22 22:48:09949</p>
Junio C Hamano1ff03382018-07-25 22:10:48950<div class="paragraph"><p>Default is the value of the <code>sendemail.transferEncoding</code> configuration
951value; if that is unspecified, default to <code>auto</code>.</p></div>
Junio C Hamano6df93d92014-12-22 22:48:09952</dd>
Junio C Hamanoc9394b22015-01-07 22:45:48953<dt class="hdlist1">
954--xmailer
955</dt>
956<dt class="hdlist1">
957--no-xmailer
958</dt>
959<dd>
960<p>
961 Add (or prevent adding) the "X-Mailer:" header. By default,
962 the header is added, but it can be turned off by setting the
963 <code>sendemail.xmailer</code> configuration variable to <code>false</code>.
964</p>
965</dd>
Junio C Hamanoa476efa2008-10-10 15:31:42966</dl></div>
Junio C Hamano9d971152012-12-19 00:43:11967</div>
968<div class="sect2">
969<h3 id="_sending">Sending</h3>
Junio C Hamano68cf15a2010-11-06 01:01:59970<div class="dlist"><dl>
971<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:32972--envelope-sender=&lt;address&gt;
Junio C Hamanoa476efa2008-10-10 15:31:42973</dt>
974<dd>
975<p>
976 Specify the envelope sender used to send the emails.
977 This is useful if your default address is not the address that is
Junio C Hamano2bd8a742009-12-01 21:16:59978 subscribed to a list. In order to use the <em>From</em> address, set the
979 value to "auto". If you use the sendmail binary, you must have
980 suitable privileges for the -f parameter. Default is the value of the
Junio C Hamano042f2142016-06-27 18:05:05981 <code>sendemail.envelopeSender</code> configuration variable; if that is
Junio C Hamanoa476efa2008-10-10 15:31:42982 unspecified, choosing the envelope sender is left to your MTA.
Junio C Hamano1a4e8412005-12-27 08:17:23983</p>
984</dd>
Junio C Hamano68cf15a2010-11-06 01:01:59985<dt class="hdlist1">
Junio C Hamano01009d52021-06-14 06:32:20986--sendmail-cmd=&lt;command&gt;
987</dt>
988<dd>
989<p>
990 Specify a command to run to send the email. The command should
991 be sendmail-like; specifically, it must support the <code>-i</code> option.
992 The command will be executed in the shell if necessary. Default
993 is the value of <code>sendemail.sendmailcmd</code>. If unspecified, and if
994 --smtp-server is also unspecified, git-send-email will search
995 for <code>sendmail</code> in <code>/usr/sbin</code>, <code>/usr/lib</code> and $PATH.
996</p>
997</dd>
998<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:32999--smtp-encryption=&lt;encryption&gt;
Junio C Hamano68522892007-09-06 01:33:411000</dt>
1001<dd>
1002<p>
Junio C Hamano97946332022-11-05 04:53:181003 Specify in what way encrypting begins for the SMTP connection.
1004 Valid values are <em>ssl</em> and <em>tls</em>. Any other value reverts to plain
1005 (unencrypted) SMTP, which defaults to port 25.
1006 Despite the names, both values will use the same newer version of TLS,
1007 but for historic reasons have these names. <em>ssl</em> refers to "implicit"
1008 encryption (sometimes called SMTPS), that uses port 465 by default.
1009 <em>tls</em> refers to "explicit" encryption (often known as STARTTLS),
1010 that uses port 25 by default. Other ports might be used by the SMTP
1011 server, which are not the default. Commonly found alternative port for
1012 <em>tls</em> and unencrypted is 587. You need to check your provider&#8217;s
1013 documentation or your server configuration to make sure
1014 for your own case. Default is the value of <code>sendemail.smtpEncryption</code>.
Junio C Hamano68522892007-09-06 01:33:411015</p>
1016</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591017<dt class="hdlist1">
Junio C Hamanocb39aea2010-05-09 07:24:481018--smtp-domain=&lt;FQDN&gt;
1019</dt>
1020<dd>
1021<p>
1022 Specifies the Fully Qualified Domain Name (FQDN) used in the
1023 HELO/EHLO command to the SMTP server. Some servers require the
1024 FQDN to match your IP address. If not set, git send-email attempts
1025 to determine your FQDN automatically. Default is the value of
Junio C Hamano042f2142016-06-27 18:05:051026 <code>sendemail.smtpDomain</code>.
Junio C Hamanocb39aea2010-05-09 07:24:481027</p>
1028</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591029<dt class="hdlist1">
Junio C Hamanoa1746be2015-08-26 23:07:071030--smtp-auth=&lt;mechanisms&gt;
1031</dt>
1032<dd>
1033<p>
1034 Whitespace-separated list of allowed SMTP-AUTH mechanisms. This setting
1035 forces using only the listed mechanisms. Example:
1036</p>
1037<div class="listingblock">
1038<div class="content">
1039<pre><code>$ git send-email --smtp-auth="PLAIN LOGIN GSSAPI" ...</code></pre>
1040</div></div>
1041<div class="paragraph"><p>If at least one of the specified mechanisms matches the ones advertised by the
1042SMTP server and if it is supported by the utilized SASL library, the mechanism
Junio C Hamano92d80372016-07-13 22:00:051043is used for authentication. If neither <em>sendemail.smtpAuth</em> nor <code>--smtp-auth</code>
Junio C Hamano46fbbcb2018-11-07 03:54:161044is specified, all mechanisms supported by the SASL library can be used. The
1045special value <em>none</em> maybe specified to completely disable authentication
1046independently of <code>--smtp-user</code></p></div>
Junio C Hamanoa1746be2015-08-26 23:07:071047</dd>
1048<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:321049--smtp-pass[=&lt;password&gt;]
Junio C Hamanoa476efa2008-10-10 15:31:421050</dt>
1051<dd>
1052<p>
1053 Password for SMTP-AUTH. The argument is optional: If no
1054 argument is specified, then the empty string is used as
Junio C Hamano042f2142016-06-27 18:05:051055 the password. Default is the value of <code>sendemail.smtpPass</code>,
Junio C Hamano92d80372016-07-13 22:00:051056 however <code>--smtp-pass</code> always overrides this value.
Junio C Hamanoa476efa2008-10-10 15:31:421057</p>
Junio C Hamano68cf15a2010-11-06 01:01:591058<div class="paragraph"><p>Furthermore, passwords need not be specified in configuration files
Junio C Hamanoa476efa2008-10-10 15:31:421059or on the command line. If a username has been specified (with
Junio C Hamano92d80372016-07-13 22:00:051060<code>--smtp-user</code> or a <code>sendemail.smtpUser</code>), but no password has been
1061specified (with <code>--smtp-pass</code> or <code>sendemail.smtpPass</code>), then
Junio C Hamano5e7f1312013-03-21 22:49:011062a password is obtained using <em>git-credential</em>.</p></div>
Junio C Hamanoa476efa2008-10-10 15:31:421063</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591064<dt class="hdlist1">
Junio C Hamano46fbbcb2018-11-07 03:54:161065--no-smtp-auth
1066</dt>
1067<dd>
1068<p>
1069 Disable SMTP authentication. Short hand for <code>--smtp-auth=none</code>
1070</p>
1071</dd>
1072<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:321073--smtp-server=&lt;host&gt;
Junio C Hamano1a4e8412005-12-27 08:17:231074</dt>
1075<dd>
1076<p>
Junio C Hamanob63afff2007-05-01 03:05:551077 If set, specifies the outgoing SMTP server to use (e.g.
Junio C Hamano01009d52021-06-14 06:32:201078 <code>smtp.example.com</code> or a raw IP address). If unspecified, and if
1079 <code>--sendmail-cmd</code> is also unspecified, the default is to search
1080 for <code>sendmail</code> in <code>/usr/sbin</code>, <code>/usr/lib</code> and $PATH if such a
1081 program is available, falling back to <code>localhost</code> otherwise.
Junio C Hamano1a4e8412005-12-27 08:17:231082</p>
Junio C Hamano01009d52021-06-14 06:32:201083<div class="paragraph"><p>For backward compatibility, this option can also specify a full pathname
1084of a sendmail-like program instead; the program must support the <code>-i</code>
1085option. This method does not support passing arguments or using plain
1086command names. For those use cases, consider using <code>--sendmail-cmd</code>
1087instead.</p></div>
Junio C Hamano1a4e8412005-12-27 08:17:231088</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591089<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:321090--smtp-server-port=&lt;port&gt;
Junio C Hamano4fd58d42007-09-30 00:51:141091</dt>
1092<dd>
1093<p>
1094 Specifies a port different from the default port (SMTP
Junio C Hamanobacccda2009-08-03 08:07:121095 servers typically listen to smtp port 25, but may also listen to
1096 submission port 587, or the common SSL smtp port 465);
1097 symbolic port names (e.g. "submission" instead of 587)
Junio C Hamano3d141512009-06-01 01:22:401098 are also accepted. The port can also be set with the
Junio C Hamano042f2142016-06-27 18:05:051099 <code>sendemail.smtpServerPort</code> configuration variable.
Junio C Hamanofce7c7e2008-07-02 03:06:381100</p>
1101</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591102<dt class="hdlist1">
Junio C Hamano39c7a692010-10-27 06:08:541103--smtp-server-option=&lt;option&gt;
1104</dt>
1105<dd>
1106<p>
1107 If set, specifies the outgoing SMTP server option to use.
Junio C Hamano042f2142016-06-27 18:05:051108 Default value can be specified by the <code>sendemail.smtpServerOption</code>
Junio C Hamano39c7a692010-10-27 06:08:541109 configuration option.
1110</p>
Junio C Hamano68cf15a2010-11-06 01:01:591111<div class="paragraph"><p>The --smtp-server-option option must be repeated for each option you want
Junio C Hamano39c7a692010-10-27 06:08:541112to pass to the server. Likewise, different lines in the configuration files
1113must be used for each option.</p></div>
1114</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591115<dt class="hdlist1">
Junio C Hamano68522892007-09-06 01:33:411116--smtp-ssl
1117</dt>
1118<dd>
1119<p>
Junio C Hamanoa476efa2008-10-10 15:31:421120 Legacy alias for <em>--smtp-encryption ssl</em>.
Junio C Hamano68522892007-09-06 01:33:411121</p>
1122</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591123<dt class="hdlist1">
Junio C Hamano58f587a2013-07-22 19:20:591124--smtp-ssl-cert-path
1125</dt>
1126<dd>
1127<p>
Junio C Hamanoe8acc8e2015-01-14 22:01:341128 Path to a store of trusted CA certificates for SMTP SSL/TLS
1129 certificate validation (either a directory that has been processed
1130 by <em>c_rehash</em>, or a single file containing one or more PEM format
1131 certificates concatenated together: see verify(1) -CAfile and
1132 -CApath for more information on these). Set it to an empty string
1133 to disable certificate verification. Defaults to the value of the
Junio C Hamano042f2142016-06-27 18:05:051134 <code>sendemail.smtpsslcertpath</code> configuration variable, if set, or the
Junio C Hamanoe8acc8e2015-01-14 22:01:341135 backing SSL library&#8217;s compiled-in default otherwise (which should
1136 be the best choice on most platforms).
Junio C Hamano58f587a2013-07-22 19:20:591137</p>
1138</dd>
1139<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:321140--smtp-user=&lt;user&gt;
Junio C Hamano86f75882006-02-06 02:27:231141</dt>
1142<dd>
1143<p>
Junio C Hamano042f2142016-06-27 18:05:051144 Username for SMTP-AUTH. Default is the value of <code>sendemail.smtpUser</code>;
Junio C Hamano92d80372016-07-13 22:00:051145 if a username is not specified (with <code>--smtp-user</code> or <code>sendemail.smtpUser</code>),
Junio C Hamanoa476efa2008-10-10 15:31:421146 then authentication is not attempted.
1147</p>
1148</dd>
Junio C Hamano6ebd8042012-02-28 00:17:401149<dt class="hdlist1">
1150--smtp-debug=0|1
1151</dt>
1152<dd>
1153<p>
1154 Enable (1) or disable (0) debug output. If enabled, SMTP
1155 commands and replies will be printed. Useful to debug TLS
1156 connection and authentication problems.
1157</p>
1158</dd>
Junio C Hamano08a3a232017-07-07 02:28:441159<dt class="hdlist1">
1160--batch-size=&lt;num&gt;
1161</dt>
1162<dd>
1163<p>
1164 Some email servers (e.g. smtp.163.com) limit the number emails to be
Junio C Hamano96153bf2018-04-25 08:25:341165 sent per session (connection) and this will lead to a failure when
Junio C Hamano08a3a232017-07-07 02:28:441166 sending many messages. With this option, send-email will disconnect after
1167 sending $&lt;num&gt; messages and wait for a few seconds (see --relogin-delay)
1168 and reconnect, to work around such a limit. You may want to
1169 use some form of credential helper to avoid having to retype
1170 your password every time this happens. Defaults to the
1171 <code>sendemail.smtpBatchSize</code> configuration variable.
1172</p>
1173</dd>
1174<dt class="hdlist1">
1175--relogin-delay=&lt;int&gt;
1176</dt>
1177<dd>
1178<p>
1179 Waiting $&lt;int&gt; seconds before reconnecting to SMTP server. Used together
1180 with --batch-size option. Defaults to the <code>sendemail.smtpReloginDelay</code>
1181 configuration variable.
1182</p>
1183</dd>
Junio C Hamanoa476efa2008-10-10 15:31:421184</dl></div>
Junio C Hamano9d971152012-12-19 00:43:111185</div>
1186<div class="sect2">
1187<h3 id="_automating">Automating</h3>
Junio C Hamano68cf15a2010-11-06 01:01:591188<div class="dlist"><dl>
1189<dt class="hdlist1">
Junio C Hamano51937872019-06-13 22:09:301190--no-[to|cc|bcc]
1191</dt>
1192<dd>
1193<p>
1194 Clears any list of "To:", "Cc:", "Bcc:" addresses previously
1195 set via config.
1196</p>
1197</dd>
1198<dt class="hdlist1">
1199--no-identity
1200</dt>
1201<dd>
1202<p>
1203 Clears the previously read value of <code>sendemail.identity</code> set
1204 via config, if any.
1205</p>
1206</dd>
1207<dt class="hdlist1">
Junio C Hamano39c7a692010-10-27 06:08:541208--to-cmd=&lt;command&gt;
1209</dt>
1210<dd>
1211<p>
1212 Specify a command to execute once per patch file which
1213 should generate patch file specific "To:" entries.
1214 Output of this command must be single email address per line.
1215 Default is the value of <em>sendemail.tocmd</em> configuration value.
1216</p>
1217</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591218<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:321219--cc-cmd=&lt;command&gt;
Junio C Hamanoa476efa2008-10-10 15:31:421220</dt>
1221<dd>
1222<p>
1223 Specify a command to execute once per patch file which
1224 should generate patch file specific "Cc:" entries.
1225 Output of this command must be single email address per line.
Junio C Hamano042f2142016-06-27 18:05:051226 Default is the value of <code>sendemail.ccCmd</code> configuration value.
Junio C Hamano86f75882006-02-06 02:27:231227</p>
1228</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591229<dt class="hdlist1">
Junio C Hamanod37473e2023-05-15 23:04:431230--header-cmd=&lt;command&gt;
1231</dt>
1232<dd>
1233<p>
1234 Specify a command that is executed once per outgoing message
1235 and output RFC 2822 style header lines to be inserted into
1236 them. When the <code>sendemail.headerCmd</code> configuration variable is
1237 set, its value is always used. When --header-cmd is provided
1238 at the command line, its value takes precedence over the
1239 <code>sendemail.headerCmd</code> configuration variable.
1240</p>
1241</dd>
1242<dt class="hdlist1">
1243--no-header-cmd
1244</dt>
1245<dd>
1246<p>
1247 Disable any header command in use.
1248</p>
1249</dd>
1250<dt class="hdlist1">
Junio C Hamano25e7ba62009-06-14 01:03:221251--[no-]chain-reply-to
Junio C Hamanoc9154122006-02-15 02:22:061252</dt>
1253<dd>
1254<p>
Junio C Hamanoa476efa2008-10-10 15:31:421255 If this is set, each email will be sent as a reply to the previous
1256 email sent. If disabled with "--no-chain-reply-to", all emails after
1257 the first will be sent as replies to the first email sent. When using
1258 this, it is recommended that the first file given be an overview of the
Junio C Hamano042f2142016-06-27 18:05:051259 entire patch series. Disabled by default, but the <code>sendemail.chainReplyTo</code>
Junio C Hamano096dde22009-12-26 23:14:111260 configuration variable can be used to enable it.
Junio C Hamanoa476efa2008-10-10 15:31:421261</p>
1262</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591263<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:321264--identity=&lt;identity&gt;
Junio C Hamanoa476efa2008-10-10 15:31:421265</dt>
1266<dd>
1267<p>
1268 A configuration identity. When given, causes values in the
1269 <em>sendemail.&lt;identity&gt;</em> subsection to take precedence over
1270 values in the <em>sendemail</em> section. The default identity is
Junio C Hamano042f2142016-06-27 18:05:051271 the value of <code>sendemail.identity</code>.
Junio C Hamanoa476efa2008-10-10 15:31:421272</p>
1273</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591274<dt class="hdlist1">
Junio C Hamanoa476efa2008-10-10 15:31:421275--[no-]signed-off-by-cc
1276</dt>
1277<dd>
1278<p>
Junio C Hamanodf3d3cd2020-11-02 22:05:051279 If this is set, add emails found in the <code>Signed-off-by</code> trailer or Cc: lines to the
Junio C Hamano042f2142016-06-27 18:05:051280 cc list. Default is the value of <code>sendemail.signedoffbycc</code> configuration
Junio C Hamanoa476efa2008-10-10 15:31:421281 value; if that is unspecified, default to --signed-off-by-cc.
Junio C Hamanoc9154122006-02-15 02:22:061282</p>
1283</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591284<dt class="hdlist1">
Junio C Hamano45f804f2014-06-20 22:24:491285--[no-]cc-cover
1286</dt>
1287<dd>
1288<p>
1289 If this is set, emails found in Cc: headers in the first patch of
1290 the series (typically the cover letter) are added to the cc list
1291 for each email set. Default is the value of <em>sendemail.cccover</em>
1292 configuration value; if that is unspecified, default to --no-cc-cover.
1293</p>
1294</dd>
1295<dt class="hdlist1">
1296--[no-]to-cover
1297</dt>
1298<dd>
1299<p>
1300 If this is set, emails found in To: headers in the first patch of
1301 the series (typically the cover letter) are added to the to list
1302 for each email set. Default is the value of <em>sendemail.tocover</em>
1303 configuration value; if that is unspecified, default to --no-to-cover.
1304</p>
1305</dd>
1306<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:321307--suppress-cc=&lt;category&gt;
Junio C Hamano9c334152008-02-12 03:18:521308</dt>
1309<dd>
1310<p>
1311 Specify an additional category of recipients to suppress the
Junio C Hamano0a235222009-03-06 08:21:091312 auto-cc of:
Junio C Hamano9c334152008-02-12 03:18:521313</p>
Junio C Hamano9d971152012-12-19 00:43:111314<div class="openblock">
1315<div class="content">
Junio C Hamano68cf15a2010-11-06 01:01:591316<div class="ulist"><ul>
Junio C Hamano0a235222009-03-06 08:21:091317<li>
1318<p>
Junio C Hamano94d00a52018-10-30 07:34:401319<em>author</em> will avoid including the patch author.
Junio C Hamano0a235222009-03-06 08:21:091320</p>
1321</li>
1322<li>
1323<p>
Junio C Hamano94d00a52018-10-30 07:34:401324<em>self</em> will avoid including the sender.
Junio C Hamano0a235222009-03-06 08:21:091325</p>
1326</li>
1327<li>
1328<p>
1329<em>cc</em> will avoid including anyone mentioned in Cc lines in the patch header
1330 except for self (use <em>self</em> for that).
1331</p>
1332</li>
1333<li>
1334<p>
Junio C Hamano0e88f3e2009-06-21 08:03:251335<em>bodycc</em> will avoid including anyone mentioned in Cc lines in the
Junio C Hamano0a235222009-03-06 08:21:091336 patch body (commit message) except for self (use <em>self</em> for that).
1337</p>
1338</li>
1339<li>
1340<p>
Junio C Hamanodf3d3cd2020-11-02 22:05:051341<em>sob</em> will avoid including anyone mentioned in the Signed-off-by trailers except
Junio C Hamano94d00a52018-10-30 07:34:401342 for self (use <em>self</em> for that).
1343</p>
1344</li>
1345<li>
1346<p>
1347<em>misc-by</em> will avoid including anyone mentioned in Acked-by,
1348 Reviewed-by, Tested-by and other "-by" lines in the patch body,
1349 except Signed-off-by (use <em>sob</em> for that).
Junio C Hamano0a235222009-03-06 08:21:091350</p>
1351</li>
1352<li>
1353<p>
1354<em>cccmd</em> will avoid running the --cc-cmd.
1355</p>
1356</li>
1357<li>
1358<p>
Junio C Hamano94d00a52018-10-30 07:34:401359<em>body</em> is equivalent to <em>sob</em> + <em>bodycc</em> + <em>misc-by</em>.
Junio C Hamano0a235222009-03-06 08:21:091360</p>
1361</li>
1362<li>
1363<p>
1364<em>all</em> will suppress all auto cc values.
1365</p>
1366</li>
1367</ul></div>
Junio C Hamano9d971152012-12-19 00:43:111368</div></div>
Junio C Hamano042f2142016-06-27 18:05:051369<div class="paragraph"><p>Default is the value of <code>sendemail.suppresscc</code> configuration value; if
Junio C Hamano0a235222009-03-06 08:21:091370that is unspecified, default to <em>self</em> if --suppress-from is
1371specified, as well as <em>body</em> if --no-signed-off-cc is specified.</p></div>
Junio C Hamano9c334152008-02-12 03:18:521372</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591373<dt class="hdlist1">
Junio C Hamanoa476efa2008-10-10 15:31:421374--[no-]suppress-from
Junio C Hamanoeb415992008-06-08 22:49:471375</dt>
Junio C Hamanoa476efa2008-10-10 15:31:421376<dd>
1377<p>
1378 If this is set, do not add the From: address to the cc: list.
Junio C Hamano042f2142016-06-27 18:05:051379 Default is the value of <code>sendemail.suppressFrom</code> configuration
Junio C Hamanoa476efa2008-10-10 15:31:421380 value; if that is unspecified, default to --no-suppress-from.
1381</p>
1382</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591383<dt class="hdlist1">
Junio C Hamanoa476efa2008-10-10 15:31:421384--[no-]thread
Junio C Hamanoddc5ad42007-06-27 07:14:521385</dt>
1386<dd>
1387<p>
Junio C Hamano1bbd0f42009-07-23 06:20:291388 If this is set, the In-Reply-To and References headers will be
1389 added to each email sent. Whether each mail refers to the
Junio C Hamanoc14e6ad2014-10-31 20:25:531390 previous email (<code>deep</code> threading per <em>git format-patch</em>
1391 wording) or to the first email (<code>shallow</code> threading) is
Junio C Hamano1bbd0f42009-07-23 06:20:291392 governed by "--[no-]chain-reply-to".
Junio C Hamanoddc5ad42007-06-27 07:14:521393</p>
Junio C Hamano68cf15a2010-11-06 01:01:591394<div class="paragraph"><p>If disabled with "--no-thread", those headers will not be added
Junio C Hamano1bbd0f42009-07-23 06:20:291395(unless specified with --in-reply-to). Default is the value of the
Junio C Hamano042f2142016-06-27 18:05:051396<code>sendemail.thread</code> configuration value; if that is unspecified,
Junio C Hamano1bbd0f42009-07-23 06:20:291397default to --thread.</p></div>
Junio C Hamano68cf15a2010-11-06 01:01:591398<div class="paragraph"><p>It is up to the user to ensure that no In-Reply-To header already
Junio C Hamano1bbd0f42009-07-23 06:20:291399exists when <em>git send-email</em> is asked to add it (especially note that
1400<em>git format-patch</em> can be configured to do the threading itself).
1401Failure to do so may not produce the expected result in the
Junio C Hamano68cf15a2010-11-06 01:01:591402recipient&#8217;s MUA.</p></div>
Junio C Hamanoddc5ad42007-06-27 07:14:521403</dd>
Junio C Hamanoa476efa2008-10-10 15:31:421404</dl></div>
Junio C Hamano9d971152012-12-19 00:43:111405</div>
1406<div class="sect2">
1407<h3 id="_administering">Administering</h3>
Junio C Hamano68cf15a2010-11-06 01:01:591408<div class="dlist"><dl>
1409<dt class="hdlist1">
Junio C Hamanob4a9ede2009-04-08 07:36:321410--confirm=&lt;mode&gt;
Junio C Hamano0a235222009-03-06 08:21:091411</dt>
1412<dd>
1413<p>
1414 Confirm just before sending:
1415</p>
Junio C Hamano9d971152012-12-19 00:43:111416<div class="openblock">
1417<div class="content">
Junio C Hamano68cf15a2010-11-06 01:01:591418<div class="ulist"><ul>
Junio C Hamano0a235222009-03-06 08:21:091419<li>
1420<p>
1421<em>always</em> will always confirm before sending
1422</p>
1423</li>
1424<li>
1425<p>
1426<em>never</em> will never confirm before sending
1427</p>
1428</li>
1429<li>
1430<p>
1431<em>cc</em> will confirm before sending when send-email has automatically
1432 added addresses from the patch to the Cc list
1433</p>
1434</li>
1435<li>
1436<p>
1437<em>compose</em> will confirm before sending the first message when using --compose.
1438</p>
1439</li>
1440<li>
1441<p>
1442<em>auto</em> is equivalent to <em>cc</em> + <em>compose</em>
1443</p>
1444</li>
1445</ul></div>
Junio C Hamano9d971152012-12-19 00:43:111446</div></div>
Junio C Hamano042f2142016-06-27 18:05:051447<div class="paragraph"><p>Default is the value of <code>sendemail.confirm</code> configuration value; if that
Junio C Hamano0a235222009-03-06 08:21:091448is unspecified, default to <em>auto</em> unless any of the suppress options
1449have been specified, in which case default to <em>compose</em>.</p></div>
1450</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591451<dt class="hdlist1">
Junio C Hamano45889b42007-04-26 07:20:041452--dry-run
1453</dt>
1454<dd>
1455<p>
1456 Do everything except actually send the emails.
1457</p>
1458</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591459<dt class="hdlist1">
Junio C Hamano3d141512009-06-01 01:22:401460--[no-]format-patch
1461</dt>
1462<dd>
1463<p>
1464 When an argument may be understood either as a reference or as a file name,
Junio C Hamano92d80372016-07-13 22:00:051465 choose to understand it as a format-patch argument (<code>--format-patch</code>)
1466 or as a file name (<code>--no-format-patch</code>). By default, when such a conflict
Junio C Hamano3d141512009-06-01 01:22:401467 occurs, git send-email will fail.
1468</p>
1469</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591470<dt class="hdlist1">
Junio C Hamanoa476efa2008-10-10 15:31:421471--quiet
Junio C Hamano45889b42007-04-26 07:20:041472</dt>
1473<dd>
1474<p>
Junio C Hamanoa476efa2008-10-10 15:31:421475 Make git-send-email less verbose. One line per email should be
1476 all that is output.
Junio C Hamano45889b42007-04-26 07:20:041477</p>
1478</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591479<dt class="hdlist1">
Junio C Hamanoa476efa2008-10-10 15:31:421480--[no-]validate
Junio C Hamano86f75882006-02-06 02:27:231481</dt>
1482<dd>
1483<p>
Junio C Hamanoa476efa2008-10-10 15:31:421484 Perform sanity checks on patches.
1485 Currently, validation means the following:
Junio C Hamano86f75882006-02-06 02:27:231486</p>
Junio C Hamano9d971152012-12-19 00:43:111487<div class="openblock">
1488<div class="content">
Junio C Hamano68cf15a2010-11-06 01:01:591489<div class="ulist"><ul>
Junio C Hamano2fa431b2008-12-28 01:26:231490<li>
1491<p>
Junio C Hamanod88ba732017-05-30 04:14:201492Invoke the sendemail-validate hook if present (see <a href="githooks.html">githooks(5)</a>).
1493</p>
1494</li>
1495<li>
1496<p>
Junio C Hamano1ff03382018-07-25 22:10:481497Warn of patches that contain lines longer than
1498 998 characters unless a suitable transfer encoding
1499 (<em>auto</em>, <em>base64</em>, or <em>quoted-printable</em>) is used;
1500 this is due to SMTP limits as described by
1501 <a href="http://www.ietf.org/rfc/rfc5322.txt">http://www.ietf.org/rfc/rfc5322.txt</a>.
Junio C Hamano2fa431b2008-12-28 01:26:231502</p>
1503</li>
1504</ul></div>
Junio C Hamano9d971152012-12-19 00:43:111505</div></div>
Junio C Hamano042f2142016-06-27 18:05:051506<div class="paragraph"><p>Default is the value of <code>sendemail.validate</code>; if this is not set,
Junio C Hamano92d80372016-07-13 22:00:051507default to <code>--validate</code>.</p></div>
Junio C Hamano610d1762008-11-28 06:27:131508</dd>
Junio C Hamanocf29d332010-12-11 07:28:561509<dt class="hdlist1">
1510--force
1511</dt>
1512<dd>
1513<p>
1514 Send emails even if safety checks would prevent it.
1515</p>
1516</dd>
Junio C Hamano9e395072008-07-31 22:11:211517</dl></div>
Junio C Hamano1a4e8412005-12-27 08:17:231518</div>
Junio C Hamanoabb8a052015-12-04 22:43:111519<div class="sect2">
1520<h3 id="_information">Information</h3>
1521<div class="dlist"><dl>
1522<dt class="hdlist1">
1523--dump-aliases
1524</dt>
1525<dd>
1526<p>
1527 Instead of the normal operation, dump the shorthand alias names from
1528 the configured alias file(s), one per line in alphabetical order. Note,
1529 this only includes the alias name and not its expanded email addresses.
1530 See <em>sendemail.aliasesfile</em> for more information about aliases.
1531</p>
1532</dd>
1533</dl></div>
1534</div>
Junio C Hamano9d971152012-12-19 00:43:111535</div>
1536</div>
1537<div class="sect1">
Junio C Hamano9e395072008-07-31 22:11:211538<h2 id="_configuration">CONFIGURATION</h2>
Junio C Hamanoc51fede2007-03-12 07:29:201539<div class="sectionbody">
Junio C Hamanoba8baee2022-09-14 20:25:231540<div class="paragraph"><p>Everything below this line in this section is selectively included
1541from the <a href="git-config.html">git-config(1)</a> documentation. The content is the same
1542as what&#8217;s found there:</p></div>
Junio C Hamano68cf15a2010-11-06 01:01:591543<div class="dlist"><dl>
1544<dt class="hdlist1">
Junio C Hamanoba8baee2022-09-14 20:25:231545sendemail.identity
1546</dt>
1547<dd>
1548<p>
1549 A configuration identity. When given, causes values in the
1550 <em>sendemail.&lt;identity&gt;</em> subsection to take precedence over
1551 values in the <em>sendemail</em> section. The default identity is
1552 the value of <code>sendemail.identity</code>.
1553</p>
1554</dd>
1555<dt class="hdlist1">
1556sendemail.smtpEncryption
1557</dt>
1558<dd>
1559<p>
1560 See <a href="git-send-email.html">git-send-email(1)</a> for description. Note that this
1561 setting is not subject to the <em>identity</em> mechanism.
1562</p>
1563</dd>
1564<dt class="hdlist1">
1565sendemail.smtpsslcertpath
1566</dt>
1567<dd>
1568<p>
1569 Path to ca-certificates (either a directory or a single file).
1570 Set it to an empty string to disable certificate verification.
1571</p>
1572</dd>
1573<dt class="hdlist1">
1574sendemail.&lt;identity&gt;.*
1575</dt>
1576<dd>
1577<p>
1578 Identity-specific versions of the <em>sendemail.*</em> parameters
1579 found below, taking precedence over those when this
1580 identity is selected, through either the command-line or
1581 <code>sendemail.identity</code>.
1582</p>
1583</dd>
1584<dt class="hdlist1">
1585sendemail.multiEdit
1586</dt>
1587<dd>
1588<p>
1589 If true (default), a single editor instance will be spawned to edit
1590 files you have to edit (patches when <code>--annotate</code> is used, and the
1591 summary when <code>--compose</code> is used). If false, files will be edited one
1592 after the other, spawning a new editor each time.
1593</p>
1594</dd>
1595<dt class="hdlist1">
1596sendemail.confirm
1597</dt>
1598<dd>
1599<p>
1600 Sets the default for whether to confirm before sending. Must be
1601 one of <em>always</em>, <em>never</em>, <em>cc</em>, <em>compose</em>, or <em>auto</em>. See <code>--confirm</code>
1602 in the <a href="git-send-email.html">git-send-email(1)</a> documentation for the meaning of these
1603 values.
1604</p>
1605</dd>
1606<dt class="hdlist1">
Junio C Hamano322c6242015-03-23 21:32:461607sendemail.aliasesFile
Junio C Hamanoc51fede2007-03-12 07:29:201608</dt>
1609<dd>
1610<p>
1611 To avoid typing long email addresses, point this to one or more
Junio C Hamano042f2142016-06-27 18:05:051612 email aliases files. You must also supply <code>sendemail.aliasFileType</code>.
Junio C Hamanoc51fede2007-03-12 07:29:201613</p>
1614</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591615<dt class="hdlist1">
Junio C Hamano322c6242015-03-23 21:32:461616sendemail.aliasFileType
Junio C Hamanoc51fede2007-03-12 07:29:201617</dt>
1618<dd>
1619<p>
Junio C Hamano322c6242015-03-23 21:32:461620 Format of the file(s) specified in sendemail.aliasesFile. Must be
Junio C Hamanoce447ab2015-06-16 22:08:011621 one of <em>mutt</em>, <em>mailrc</em>, <em>pine</em>, <em>elm</em>, or <em>gnus</em>, or <em>sendmail</em>.
Junio C Hamanoc51fede2007-03-12 07:29:201622</p>
Junio C Hamanoce447ab2015-06-16 22:08:011623<div class="paragraph"><p>What an alias file in each format looks like can be found in
1624the documentation of the email program of the same name. The
1625differences and limitations from the standard formats are
1626described below:</p></div>
1627<div class="openblock">
1628<div class="content">
1629<div class="dlist"><dl>
1630<dt class="hdlist1">
1631sendmail
1632</dt>
1633<dd>
1634<div class="ulist"><ul>
1635<li>
1636<p>
1637Quoted aliases and quoted addresses are not supported: lines that
1638 contain a <code>"</code> symbol are ignored.
1639</p>
1640</li>
1641<li>
1642<p>
Junio C Hamanodf5384b2015-06-24 21:12:121643Redirection to a file (<code>/path/name</code>) or pipe (<code>|command</code>) is not
1644 supported.
1645</p>
1646</li>
1647<li>
1648<p>
1649File inclusion (<code>:include: /path/name</code>) is not supported.
Junio C Hamanoce447ab2015-06-16 22:08:011650</p>
1651</li>
1652<li>
1653<p>
1654Warnings are printed on the standard error output for any
1655 explicitly unsupported constructs, and any other lines that are not
1656 recognized by the parser.
1657</p>
1658</li>
1659</ul></div>
1660</dd>
1661</dl></div>
1662</div></div>
Junio C Hamanoc51fede2007-03-12 07:29:201663</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591664<dt class="hdlist1">
Junio C Hamanoba8baee2022-09-14 20:25:231665sendemail.annotate
1666</dt>
1667<dt class="hdlist1">
1668sendemail.bcc
1669</dt>
1670<dt class="hdlist1">
1671sendemail.cc
1672</dt>
1673<dt class="hdlist1">
1674sendemail.ccCmd
1675</dt>
1676<dt class="hdlist1">
1677sendemail.chainReplyTo
1678</dt>
1679<dt class="hdlist1">
1680sendemail.envelopeSender
1681</dt>
1682<dt class="hdlist1">
1683sendemail.from
1684</dt>
1685<dt class="hdlist1">
Junio C Hamanod37473e2023-05-15 23:04:431686sendemail.headerCmd
1687</dt>
1688<dt class="hdlist1">
Junio C Hamanoba8baee2022-09-14 20:25:231689sendemail.signedoffbycc
1690</dt>
1691<dt class="hdlist1">
1692sendemail.smtpPass
1693</dt>
1694<dt class="hdlist1">
1695sendemail.suppresscc
1696</dt>
1697<dt class="hdlist1">
1698sendemail.suppressFrom
1699</dt>
1700<dt class="hdlist1">
1701sendemail.to
1702</dt>
1703<dt class="hdlist1">
1704sendemail.tocmd
1705</dt>
1706<dt class="hdlist1">
1707sendemail.smtpDomain
1708</dt>
1709<dt class="hdlist1">
1710sendemail.smtpServer
1711</dt>
1712<dt class="hdlist1">
1713sendemail.smtpServerPort
1714</dt>
1715<dt class="hdlist1">
1716sendemail.smtpServerOption
1717</dt>
1718<dt class="hdlist1">
1719sendemail.smtpUser
1720</dt>
1721<dt class="hdlist1">
1722sendemail.thread
1723</dt>
1724<dt class="hdlist1">
1725sendemail.transferEncoding
1726</dt>
1727<dt class="hdlist1">
1728sendemail.validate
1729</dt>
1730<dt class="hdlist1">
1731sendemail.xmailer
Junio C Hamano610d1762008-11-28 06:27:131732</dt>
1733<dd>
1734<p>
Junio C Hamanoba8baee2022-09-14 20:25:231735 These configuration variables all provide a default for
1736 <a href="git-send-email.html">git-send-email(1)</a> command-line options. See its
1737 documentation for details.
Junio C Hamano610d1762008-11-28 06:27:131738</p>
1739</dd>
Junio C Hamano68cf15a2010-11-06 01:01:591740<dt class="hdlist1">
Junio C Hamanoba8baee2022-09-14 20:25:231741sendemail.signedoffcc (deprecated)
Junio C Hamano0a235222009-03-06 08:21:091742</dt>
1743<dd>
1744<p>
Junio C Hamanoba8baee2022-09-14 20:25:231745 Deprecated alias for <code>sendemail.signedoffbycc</code>.
1746</p>
1747</dd>
1748<dt class="hdlist1">
1749sendemail.smtpBatchSize
1750</dt>
1751<dd>
1752<p>
1753 Number of messages to be sent per connection, after that a relogin
1754 will happen. If the value is 0 or undefined, send all messages in
1755 one connection.
1756 See also the <code>--batch-size</code> option of <a href="git-send-email.html">git-send-email(1)</a>.
1757</p>
1758</dd>
1759<dt class="hdlist1">
1760sendemail.smtpReloginDelay
1761</dt>
1762<dd>
1763<p>
1764 Seconds wait before reconnecting to smtp server.
1765 See also the <code>--relogin-delay</code> option of <a href="git-send-email.html">git-send-email(1)</a>.
1766</p>
1767</dd>
1768<dt class="hdlist1">
1769sendemail.forbidSendmailVariables
1770</dt>
1771<dd>
1772<p>
1773 To avoid common misconfiguration mistakes, <a href="git-send-email.html">git-send-email(1)</a>
1774 will abort with a warning if any configuration options for "sendmail"
1775 exist. Set this variable to bypass the check.
Junio C Hamano0a235222009-03-06 08:21:091776</p>
1777</dd>
Junio C Hamano9e395072008-07-31 22:11:211778</dl></div>
Junio C Hamanoc51fede2007-03-12 07:29:201779</div>
Junio C Hamano9d971152012-12-19 00:43:111780</div>
1781<div class="sect1">
Junio C Hamanob9d9d902018-05-23 07:07:421782<h2 id="_examples">EXAMPLES</h2>
Junio C Hamanofacbe512010-05-05 02:42:361783<div class="sectionbody">
Junio C Hamano9d971152012-12-19 00:43:111784<div class="sect2">
1785<h3 id="_use_gmail_as_the_smtp_server">Use gmail as the smtp server</h3>
Junio C Hamanob77f8192011-05-05 01:30:381786<div class="paragraph"><p>To use <em>git send-email</em> to send your patches through the GMail SMTP server,
1787edit ~/.gitconfig to specify your account settings:</p></div>
Junio C Hamano48cd3f12019-10-09 05:55:301788<div class="listingblock">
Junio C Hamanofacbe512010-05-05 02:42:361789<div class="content">
Junio C Hamanoc14e6ad2014-10-31 20:25:531790<pre><code>[sendemail]
Junio C Hamano322c6242015-03-23 21:32:461791 smtpEncryption = tls
1792 smtpServer = smtp.gmail.com
1793 smtpUser = yourname@gmail.com
1794 smtpServerPort = 587</code></pre>
Junio C Hamanofacbe512010-05-05 02:42:361795</div></div>
Junio C Hamano8dc18872023-05-09 23:51:591796<div class="paragraph"><p>If you have multi-factor authentication set up on your Gmail account, you can
1797generate an app-specific password for use with <em>git send-email</em>. Visit
Junio C Hamano96153bf2018-04-25 08:25:341798<a href="https://security.google.com/settings/security/apppasswords">https://security.google.com/settings/security/apppasswords</a> to create it.</p></div>
Junio C Hamanob77f8192011-05-05 01:30:381799<div class="paragraph"><p>Once your commits are ready to be sent to the mailing list, run the
1800following commands:</p></div>
1801<div class="literalblock">
1802<div class="content">
Junio C Hamanoc14e6ad2014-10-31 20:25:531803<pre><code>$ git format-patch --cover-letter -M origin/master -o outgoing/
Junio C Hamanob77f8192011-05-05 01:30:381804$ edit outgoing/0000-*
Junio C Hamanoc14e6ad2014-10-31 20:25:531805$ git send-email outgoing/*</code></pre>
Junio C Hamanob77f8192011-05-05 01:30:381806</div></div>
Junio C Hamano96153bf2018-04-25 08:25:341807<div class="paragraph"><p>The first time you run it, you will be prompted for your credentials. Enter the
1808app-specific or your regular password as appropriate. If you have credential
1809helper configured (see <a href="git-credential.html">git-credential(1)</a>), the password will be saved in
1810the credential store so you won&#8217;t have to type it the next time.</p></div>
Junio C Hamanod0a99402019-06-21 18:58:411811<div class="paragraph"><p>Note: the following core Perl modules that may be installed with your
1812distribution of Perl are required:
1813MIME::Base64, MIME::QuotedPrint, Net::Domain and Net::SMTP.
1814These additional Perl modules are also required:
1815Authen::SASL and Mail::Address.</p></div>
Junio C Hamanofacbe512010-05-05 02:42:361816</div>
Junio C Hamano9d971152012-12-19 00:43:111817</div>
1818</div>
1819<div class="sect1">
Junio C Hamanob77f8192011-05-05 01:30:381820<h2 id="_see_also">SEE ALSO</h2>
1821<div class="sectionbody">
Junio C Hamanoa28a9202012-06-21 07:08:231822<div class="paragraph"><p><a href="git-format-patch.html">git-format-patch(1)</a>, <a href="git-imap-send.html">git-imap-send(1)</a>, mbox(5)</p></div>
Junio C Hamanob77f8192011-05-05 01:30:381823</div>
Junio C Hamano9d971152012-12-19 00:43:111824</div>
1825<div class="sect1">
Junio C Hamano9e395072008-07-31 22:11:211826<h2 id="_git">GIT</h2>
Junio C Hamano1a4e8412005-12-27 08:17:231827<div class="sectionbody">
Junio C Hamanoa28a9202012-06-21 07:08:231828<div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
Junio C Hamano1a4e8412005-12-27 08:17:231829</div>
Junio C Hamano7bd050f2011-09-22 06:32:221830</div>
Junio C Hamano9d971152012-12-19 00:43:111831</div>
Junio C Hamano7bd050f2011-09-22 06:32:221832<div id="footnotes"><hr /></div>
Junio C Hamano1a4e8412005-12-27 08:17:231833<div id="footer">
1834<div id="footer-text">
Junio C Hamano2ef0ba32018-01-26 23:13:531835Last updated
Junio C Hamanoa7b2c102023-06-13 21:00:151836 2023-05-15 16:02:03 PDT
Junio C Hamano1a4e8412005-12-27 08:17:231837</div>
1838</div>
1839</body>
1840</html>