<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-format-patch.txt, branch v2.41.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.41.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.41.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2023-04-21T22:35:05Z</updated>
<entry>
<title>Merge branch 'ah/format-patch-thread-doc'</title>
<updated>2023-04-21T22:35:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-04-21T22:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9e0d1aa495bd26f4688b915ac5c3cb656c9f7174'/>
<id>urn:sha1:9e0d1aa495bd26f4688b915ac5c3cb656c9f7174</id>
<content type='text'>
Doc update.

* ah/format-patch-thread-doc:
  format-patch: correct documentation of --thread without an argument
</content>
</entry>
<entry>
<title>format-patch: correct documentation of --thread without an argument</title>
<updated>2023-04-03T16:59:20Z</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2023-04-03T04:07:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f024913164ae6ec53bd97c0fb8481abb0fecd86d'/>
<id>urn:sha1:f024913164ae6ec53bd97c0fb8481abb0fecd86d</id>
<content type='text'>
In Git, almost all command line flags unconditionally override the
corresponding config option.[1] Add a test to confirm that this is the
case for `git format-patch --thread`.

[1] https://lore.kernel.org/git/CAMMLpeS3+NUQa2oqpHKVo3yWQNVMgkEXrs4U5_ggvk31yQbezQ@mail.gmail.com/

Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>e-mail workflow: Message-ID is spelled with ID in both capital letters</title>
<updated>2023-04-03T15:55:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-16T01:47:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba4324c4e1e32a28381ea1f4835b78e4c9d45575'/>
<id>urn:sha1:ba4324c4e1e32a28381ea1f4835b78e4c9d45575</id>
<content type='text'>
We used to write "Message-Id:" and "Message-ID:" pretty much
interchangeably, and the header name is defined to be case
insensitive by the RFCs, but the canonical form "Message-ID:" is
used throughout the RFC documents, so let's imitate it ourselves.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Reviewed-by: Elijah Newren &lt;newren@gmail.com&gt;
</content>
</entry>
<entry>
<title>format-patch: learn format.forceInBodyFrom configuration variable</title>
<updated>2022-08-29T21:39:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-08-29T21:38:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d5fc07df688ace8c5a32f66b358ebd55cdaf4d28'/>
<id>urn:sha1:d5fc07df688ace8c5a32f66b358ebd55cdaf4d28</id>
<content type='text'>
As the need to use the "--force-in-body-from" option primarily is
tied to which mailing list the mails go to (and get their From:
address mangled), it is likely that a user who needs to use this
option once to interact with their upstream project needs to use it
for all patches they send out.

Add a configuration variable, suitable for setting in the local
configuration file per repository, for this.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch: allow forcing the use of in-body From: header</title>
<updated>2022-08-29T21:39:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-08-29T21:38:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=34bc1b1045af6ad813f4de662a453b3c77ba65a7'/>
<id>urn:sha1:34bc1b1045af6ad813f4de662a453b3c77ba65a7</id>
<content type='text'>
Users may be authoring and committing their commits under the same
e-mail address they use to send their patches from, in which case
they shouldn't need to use the in-body From: line in their outgoing
e-mails.  At the receiving end, "git am" will use the address on the
"From:" header of the incoming e-mail and all should be well.

Some mailing lists, however, mangle the From: address from what the
original sender had; in such a situation, the user may want to add
the in-body "From:" header even for their own patches.

"git format-patch --[no-]force-in-body-from" was invented for such
users.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: git-format-patch: describe the option --always</title>
<updated>2021-12-16T01:04:15Z</updated>
<author>
<name>徐沛文 (Aleen)</name>
<email>aleen42@vip.qq.com</email>
</author>
<published>2021-12-09T07:25:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=552038e26cfa2a1b5a7843567ca7ab39a573951f'/>
<id>urn:sha1:552038e26cfa2a1b5a7843567ca7ab39a573951f</id>
<content type='text'>
This commit has described how to use '--always' option in the command
'git-format-patch' to include patches for commits that emit no changes.

Signed-off-by: 徐沛文 (Aleen) &lt;aleen42@vip.qq.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch (doc): clarify --base=auto</title>
<updated>2021-10-23T21:33:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-10-23T21:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=203eb8381a3351ce4d92456f5f9a6d21ea1d2f6f'/>
<id>urn:sha1:203eb8381a3351ce4d92456f5f9a6d21ea1d2f6f</id>
<content type='text'>
What --base=auto tells format-patch is to compute the base commit
itself, using the tracking information.  It does not make anything
track anything.

Tighten the phrasing so that it won't be copied and pasted to other
places.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/doc-format-patch-skips-merges'</title>
<updated>2021-05-11T06:27:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-11T06:27:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=270f8bfe0038fe84f8a08bdc26f8b4094df10b08'/>
<id>urn:sha1:270f8bfe0038fe84f8a08bdc26f8b4094df10b08</id>
<content type='text'>
Document that "format-patch" skips merges.

* jk/doc-format-patch-skips-merges:
  docs/format-patch: mention handling of merges
</content>
</entry>
<entry>
<title>docs/format-patch: mention handling of merges</title>
<updated>2021-05-03T05:32:39Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2021-05-01T14:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e0601f568ebf512f2edc606bdbf1a508b3c28a6'/>
<id>urn:sha1:8e0601f568ebf512f2edc606bdbf1a508b3c28a6</id>
<content type='text'>
Format-patch doesn't have a way to format merges in a way that can be
applied by git-am (or any other tool), and so it just omits them.
However, this may be a surprising implication for users who are not well
versed in how the tool works. Let's add a note to the documentation
making this more clear.

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>Merge branch 'zh/format-patch-fractional-reroll-count'</title>
<updated>2021-04-02T21:43:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-04-02T21:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a4394d1c12658b0dc6bd67d7bc6897def692851'/>
<id>urn:sha1:8a4394d1c12658b0dc6bd67d7bc6897def692851</id>
<content type='text'>
"git format-patch -v&lt;n&gt;" learned to allow a reroll count that is
not an integer.

* zh/format-patch-fractional-reroll-count:
  format-patch: allow a non-integral version numbers
</content>
</entry>
</feed>
