<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-format-patch.txt, branch v2.18.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.18.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.18.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-04-18T03:49:26Z</updated>
<entry>
<title>doc: convert \--option to --option</title>
<updated>2018-04-18T03:49:26Z</updated>
<author>
<name>Martin Ågren</name>
<email>martin.agren@gmail.com</email>
</author>
<published>2018-04-17T19:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9e9f132f53dfe7dbb2a33aac0917144ccb9e2c9b'/>
<id>urn:sha1:9e9f132f53dfe7dbb2a33aac0917144ccb9e2c9b</id>
<content type='text'>
Rather than using a backslash in \--foo, with or without ''-quoting,
write `--foo` for better rendering. As explained in commit 1c262bb7b
(doc: convert \--option to --option, 2015-05-13), the backslash is not
needed for the versions of AsciiDoc that we support, but is rendered
literally by Asciidoctor.

Signed-off-by: Martin Ågren &lt;martin.agren@gmail.com&gt;
</content>
</entry>
<entry>
<title>format-patch: have progress option while generating patches</title>
<updated>2017-08-14T21:09:45Z</updated>
<author>
<name>Kevin Willford</name>
<email>kewillf@microsoft.com</email>
</author>
<published>2017-08-10T18:32:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=738e88a20cd4c73930a18c759ed6f5704e85109f'/>
<id>urn:sha1:738e88a20cd4c73930a18c759ed6f5704e85109f</id>
<content type='text'>
When generating patches for the rebase command, if the user does
not realize the branch they are rebasing onto is thousands of
commits different, there is no progress indication after initial
rewinding message.

The progress meter as presented in this patch assumes the thousands of
patches to have a fine granularity as well as assuming to require all
the same amount of work/time for each, such that a steady progress bar
is achieved.

We do not want to estimate the time for each patch based e.g.
on their size or number of touched files (or parents) as that is too
expensive for just a progress meter.

This patch allows a progress option to be passed to format-patch
so that the user can be informed the progress of generating the
patch.  This option is then used by the rebase command when
calling format-patch.

Signed-off-by: Kevin Willford &lt;kewillf@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'xy/format-patch-base'</title>
<updated>2017-04-24T05:07:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-04-24T05:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2cef68f8e5043729952e14f0aa4c595cafbbfc2a'/>
<id>urn:sha1:2cef68f8e5043729952e14f0aa4c595cafbbfc2a</id>
<content type='text'>
Doc cleanup.

* xy/format-patch-base:
  doc: trivial typo in git-format-patch.txt
</content>
</entry>
<entry>
<title>doc: trivial typo in git-format-patch.txt</title>
<updated>2017-04-18T03:25:12Z</updated>
<author>
<name>Giuseppe Bilotta</name>
<email>giuseppe.bilotta@gmail.com</email>
</author>
<published>2017-04-17T22:32:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7ba1ceef95959049cb7c4d7369fa8669899ec0e6'/>
<id>urn:sha1:7ba1ceef95959049cb7c4d7369fa8669899ec0e6</id>
<content type='text'>
Signed-off-by: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: change erroneous --[no]-whatever into --[no-]whatever</title>
<updated>2017-03-20T17:04:57Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2017-03-20T13:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c7ee986c70e276531881d8730b9bb299b30d5c0'/>
<id>urn:sha1:2c7ee986c70e276531881d8730b9bb299b30d5c0</id>
<content type='text'>
Change these two obvious typos to be in line with the rest of the
documentation, which uses the correct --[no-]whatever form.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch: add "--rfc" for the common case of [RFC PATCH]</title>
<updated>2016-09-21T15:58:10Z</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2016-09-20T04:23:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=68e83a5b8277adfc6f8a307bc2454bc6723717f4'/>
<id>urn:sha1:68e83a5b8277adfc6f8a307bc2454bc6723717f4</id>
<content type='text'>
Add an alias for --subject-prefix='RFC PATCH', which is used
commonly in some development communities to deserve such a
short-hand.

Signed-off-by: Josh Triplett &lt;josh@joshtriplett.org&gt;
Reviewed-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 'tr/doc-tt'</title>
<updated>2016-06-27T16:56:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-06-27T16:56:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=94c61d25dabd35b18dc64781084a5d14da7be016'/>
<id>urn:sha1:94c61d25dabd35b18dc64781084a5d14da7be016</id>
<content type='text'>
The documentation set has been updated so that literal commands,
configuration variables and environment variables are consistently
typeset in fixed-width font and bold in manpages.

* tr/doc-tt:
  doc: change configuration variables format
  doc: more consistency in environment variables format
  doc: change environment variables format
  doc: clearer rule about formatting literals
</content>
</entry>
<entry>
<title>doc: change configuration variables format</title>
<updated>2016-06-08T19:04:55Z</updated>
<author>
<name>Tom Russello</name>
<email>tom.russello@grenoble-inp.org</email>
</author>
<published>2016-06-08T17:23:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ae9f6311e9c15d7968c2d03eab6e929e9c9d5f42'/>
<id>urn:sha1:ae9f6311e9c15d7968c2d03eab6e929e9c9d5f42</id>
<content type='text'>
This change configuration variables that where in italic style
to monospace font according to the guideline. It was obtained with

	grep '[[:alpha:]]*\.[[:alpha:]]*::$' config.txt | \
	sed -e 's/::$//' -e 's/\./\\\\./' | \
	xargs -iP perl -pi -e "s/\'P\'/\`P\`/g" ./*.txt

Signed-off-by: Tom Russello &lt;tom.russello@grenoble-inp.org&gt;
Signed-off-by: Erwan Mathoniere &lt;erwan.mathoniere@grenoble-inp.org&gt;
Signed-off-by: Samuel Groot &lt;samuel.groot@grenoble-inp.org&gt;
Signed-off-by: Matthieu Moy &lt;matthieu.moy@grenoble-inp.fr&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch: introduce --base=auto option</title>
<updated>2016-04-26T17:51:50Z</updated>
<author>
<name>Xiaolong Ye</name>
<email>xiaolong.ye@intel.com</email>
</author>
<published>2016-04-26T07:51:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3de665175f3433ccd1dadd4d5d09fa9553948e55'/>
<id>urn:sha1:3de665175f3433ccd1dadd4d5d09fa9553948e55</id>
<content type='text'>
Introduce --base=auto to record the base commit info automatically, the
base_commit will be the merge base of tip commit of the upstream branch
and revision-range specified in cmdline.

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Helped-by: Wu Fengguang &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Xiaolong Ye &lt;xiaolong.ye@intel.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch: add '--base' option to record base tree info</title>
<updated>2016-04-26T17:50:13Z</updated>
<author>
<name>Xiaolong Ye</name>
<email>xiaolong.ye@intel.com</email>
</author>
<published>2016-04-26T07:51:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fa2ab86d18f16ab5e6d2f2cd6e8cc00460bada17'/>
<id>urn:sha1:fa2ab86d18f16ab5e6d2f2cd6e8cc00460bada17</id>
<content type='text'>
Maintainers or third party testers may want to know the exact base tree
the patch series applies to. Teach git format-patch a '--base' option
to record the base tree info and append it at the end of the first
message (either the cover letter or the first patch in the series).

The base tree info consists of the "base commit", which is a well-known
commit that is part of the stable part of the project history everybody
else works off of, and zero or more "prerequisite patches", which are
well-known patches in flight that is not yet part of the "base commit"
that need to be applied on top of "base commit" in topological order
before the patches can be applied.

The "base commit" is shown as "base-commit: " followed by the 40-hex of
the commit object name.  A "prerequisite patch" is shown as
"prerequisite-patch-id: " followed by the 40-hex "patch id", which can
be obtained by passing the patch through the "git patch-id --stable"
command.

Imagine that on top of the public commit P, you applied well-known
patches X, Y and Z from somebody else, and then built your three-patch
series A, B, C, the history would be like:

---P---X---Y---Z---A---B---C

With "git format-patch --base=P -3 C" (or variants thereof, e.g. with
"--cover-letter" of using "Z..C" instead of "-3 C" to specify the
range), the base tree information block is shown at the end of the
first message the command outputs (either the first patch, or the
cover letter), like this:

base-commit: P
prerequisite-patch-id: X
prerequisite-patch-id: Y
prerequisite-patch-id: Z

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Helped-by: Wu Fengguang &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Xiaolong Ye &lt;xiaolong.ye@intel.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
