<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-format-patch.txt, branch v2.3.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-05-27T19:38:32Z</updated>
<entry>
<title>format-patch: add "--signature-file=&lt;file&gt;" option</title>
<updated>2014-05-27T19:38:32Z</updated>
<author>
<name>Jeremiah Mahler</name>
<email>jmmahler@gmail.com</email>
</author>
<published>2014-05-24T04:08:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7022650f61ff7d7c9297db4a04f4e93ae14e1750'/>
<id>urn:sha1:7022650f61ff7d7c9297db4a04f4e93ae14e1750</id>
<content type='text'>
Add an option to format-patch for reading a signature from a file.

  $ git format-patch -1 --signature-file=$HOME/.signature

The config variable `format.signaturefile` can also be used to make
this the default.

  $ git config format.signaturefile $HOME/.signature

  $ git format-patch -1

Signed-off-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch doc: Thunderbird wraps lines unless mailnews.wraplength=0</title>
<updated>2013-10-14T23:20:01Z</updated>
<author>
<name>Ramsay Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2013-10-06T20:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f737684d34215f029376f65770c401c2d2b24fe4'/>
<id>urn:sha1:f737684d34215f029376f65770c401c2d2b24fe4</id>
<content type='text'>
The Thunderbird section of the 'MUA-specific hints' contains three
different approaches to setting up the mail client to leave patch
emails unmolested. The second approach (configuration) has a step
missing when configuring the composition window not to wrap. In
particular, the "mailnews.wraplength" configuration variable needs
to be set to zero. Update the documentation to add the missing
setting.

Signed-off-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>log, format-patch: parsing uses OPT__QUIET</title>
<updated>2013-08-05T18:32:19Z</updated>
<author>
<name>Stefan Beller</name>
<email>stefanbeller@googlemail.com</email>
</author>
<published>2013-08-03T11:51:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b7df098c6db078f60ac8f8e07ac0c5e320b7a86c'/>
<id>urn:sha1:b7df098c6db078f60ac8f8e07ac0c5e320b7a86c</id>
<content type='text'>
This patch allows users to use the short form -q on
log and format-patch, which was non possible before.

Also the documentation of format-patch mentions -q now.

The documentation of log doesn't even talk about --quiet, so I'll leave
that for more experienced git contributors. ;)
It doesn't seem to change the default behavior, but in combination
with --stat for example it suppresses the actual stats.
however the only relevant code in log is
	if (quiet)
		rev-&gt;diffopt.output_format |= DIFF_FORMAT_NO_OUTPUT;

Signed-off-by: Stefan Beller &lt;stefanbeller@googlemail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>teach format-patch to place other authors into in-body "From"</title>
<updated>2013-07-03T19:11:04Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2013-07-03T07:08:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a90804752f6ab2b911882d47fafb6c2b78f447c3'/>
<id>urn:sha1:a90804752f6ab2b911882d47fafb6c2b78f447c3</id>
<content type='text'>
Format-patch generates emails with the "From" address set to the
author of each patch. If you are going to send the emails, however,
you would want to replace the author identity with yours (if they
are not the same), and bump the author identity to an in-body
header.

Normally this is handled by git-send-email, which does the
transformation before sending out the emails. However, some
workflows may not use send-email (e.g., imap-send, or a custom
script which feeds the mbox to a non-git MUA). They could each
implement this feature themselves, but getting it right is
non-trivial (one must canonicalize the identities by reversing any
RFC2047 encoding or RFC822 quoting of the headers, which has caused
many bugs in send-email over the years).

This patch takes a different approach: it teaches format-patch a
"--from" option which handles the ident check and in-body header
while it is writing out the email.  It's much simpler to do at this
level (because we haven't done any quoting yet), and any workflow
based on format-patch can easily turn it on.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch: add format.coverLetter configuration variable</title>
<updated>2013-04-07T20:37:47Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2013-04-07T17:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2a4c26076c3c99300a51439702791c17e7d21e6c'/>
<id>urn:sha1:2a4c26076c3c99300a51439702791c17e7d21e6c</id>
<content type='text'>
Also, add a new option: 'auto', so if there's more than one patch, the
cover letter is generated, otherwise it's not.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: the name of the system is 'Git', not 'git'</title>
<updated>2013-02-01T21:53:33Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2013-01-21T19:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2de9b71138171dca7279db3b3fe67e868c76d921'/>
<id>urn:sha1:2de9b71138171dca7279db3b3fe67e868c76d921</id>
<content type='text'>
Signed-off-by: Thomas Ackermann &lt;th.acker@arcor.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/format-patch-reroll'</title>
<updated>2013-01-12T02:34:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-01-12T02:34:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=98294e9875c05cdf2d4f16d446cb89ba6d41014a'/>
<id>urn:sha1:98294e9875c05cdf2d4f16d446cb89ba6d41014a</id>
<content type='text'>
Teach "format-patch" to prefix v4- to its output files for the
fourth iteration of a patch series, to make it easier for the
submitter to keep separate copies for iterations.

* jc/format-patch-reroll:
  format-patch: give --reroll-count a short synonym -v
  format-patch: document and test --reroll-count
  format-patch: add --reroll-count=$N option
  get_patch_filename(): split into two functions
  get_patch_filename(): drop "just-numbers" hack
  get_patch_filename(): simplify function signature
  builtin/log.c: stop using global patch_suffix
  builtin/log.c: drop redundant "numbered_files" parameter from make_cover_letter()
  builtin/log.c: drop unused "numbered" parameter from make_cover_letter()
</content>
</entry>
<entry>
<title>format-patch: give --reroll-count a short synonym -v</title>
<updated>2013-01-04T00:05:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-01-02T22:19:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7952ea66e72d1129afbebcdde11dcbeecd92698a'/>
<id>urn:sha1:7952ea66e72d1129afbebcdde11dcbeecd92698a</id>
<content type='text'>
Accept "-v" as a synonym to "--reroll-count", so that users can say
"git format-patch -v4 master", instead of having to fully spell it
out as "git format-patch --reroll-count=4 master".

As I do not think of a reason why users would want to tell the
command to be "verbose", I think this should be OK.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch: document and test --reroll-count</title>
<updated>2013-01-02T22:16:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-01-02T22:16:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4aad08e061df699b49e24c4d34698d734473fb66'/>
<id>urn:sha1:4aad08e061df699b49e24c4d34698d734473fb66</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Doc format-patch: clarify --notes use case</title>
<updated>2012-10-26T13:25:04Z</updated>
<author>
<name>Philip Oakley</name>
<email>philipoakley@iee.org</email>
</author>
<published>2012-10-21T21:34:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6454d9f166236965c84650f72ecdd17e309394d6'/>
<id>urn:sha1:6454d9f166236965c84650f72ecdd17e309394d6</id>
<content type='text'>
Remove double negative, and include the repeat usage across
versions of a patch series.

Signed-off-by: Philip Oakley &lt;philipoakley@iee.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
</feed>
