<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-format-patch.txt, branch v2.9.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.9.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.9.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-07-06T20:06:34Z</updated>
<entry>
<title>Merge branch 'tr/doc-tt' into maint</title>
<updated>2016-07-06T20:06:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-06T20:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=073d0b0914af3a9c958175fde5c8f2cc278498db'/>
<id>urn:sha1:073d0b0914af3a9c958175fde5c8f2cc278498db</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>
<entry>
<title>Merge branch 'ak/format-patch-odir-config'</title>
<updated>2016-01-26T23:40:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-01-26T23:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b2ed5ae80a1b45ac00c4c891e693ffcde34a9347'/>
<id>urn:sha1:b2ed5ae80a1b45ac00c4c891e693ffcde34a9347</id>
<content type='text'>
"git format-patch" learned to notice format.outputDirectory
configuration variable.  This allows "-o &lt;dir&gt;" option to be
omitted on the command line if you always use the same directory in
your workflow.

* ak/format-patch-odir-config:
  format-patch: introduce format.outputDirectory configuration
</content>
</entry>
<entry>
<title>Merge branch 'dw/signoff-doc'</title>
<updated>2016-01-20T19:43:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-01-20T19:43:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d512c864c3da62cabdf11f4b7dc76e3904ca9cf9'/>
<id>urn:sha1:d512c864c3da62cabdf11f4b7dc76e3904ca9cf9</id>
<content type='text'>
The documentation has been updated to hint the connection between
the '--signoff' option and DCO.

* dw/signoff-doc:
  Expand documentation describing --signoff
</content>
</entry>
<entry>
<title>format-patch: introduce format.outputDirectory configuration</title>
<updated>2016-01-13T18:55:01Z</updated>
<author>
<name>Alexander Kuleshov</name>
<email>kuleshovmail@gmail.com</email>
</author>
<published>2016-01-13T13:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bc6bf2d7641d6c2450b347d5a0b2f954728bf4d9'/>
<id>urn:sha1:bc6bf2d7641d6c2450b347d5a0b2f954728bf4d9</id>
<content type='text'>
We can pass -o/--output-directory to the format-patch command to store
patches in some place other than the working directory. This patch
introduces format.outputDirectory configuration option for same
purpose.

The case of usage of this configuration option can be convenience
to not pass every time -o/--output-directory if an user has pattern
to store all patches in the /patches directory for example.

The format.outputDirectory has lower priority than command line
option, so if user will set format.outputDirectory and pass the
command line option, a result will be stored in a directory that
passed to command line option.

Signed-off-by: Alexander Kuleshov &lt;kuleshovmail@gmail.com&gt;
Signed-off-by: Stephen P. Smith &lt;ischis2@cox.net&gt;
Reviewed-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Expand documentation describing --signoff</title>
<updated>2016-01-05T21:42:39Z</updated>
<author>
<name>David A. Wheeler</name>
<email>dwheeler@dwheeler.com</email>
</author>
<published>2016-01-05T19:20:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b2c150d3aa82f6583b9aadfecc5f8fa1c74aca09'/>
<id>urn:sha1:b2c150d3aa82f6583b9aadfecc5f8fa1c74aca09</id>
<content type='text'>
Modify various document (man page) files to explain
in more detail what --signoff means.

This was inspired by https://lwn.net/Articles/669976/ where
paulj noted, "adding [the] '-s' argument to [a] git commit
doesn't really mean you have even heard of the DCO...".
Extending git's documentation will make it easier to argue
that developers understood --signoff when they use it.

Signed-off-by: David A. Wheeler &lt;dwheeler@dwheeler.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format-patch: add an option to suppress commit hash</title>
<updated>2015-12-15T18:03:40Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2015-12-15T01:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3a30aa17879b08f96262abb9a22c7bbe8f56e4c9'/>
<id>urn:sha1:3a30aa17879b08f96262abb9a22c7bbe8f56e4c9</id>
<content type='text'>
Oftentimes, patches created by git format-patch will be stored in
version control or compared with diff.  In these cases, two otherwise
identical patches can have different commit hashes, leading to diff
noise.  Teach git format-patch a --zero-commit option that instead
produces an all-zero hash to avoid this diff noise.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'po/doc-branch-desc'</title>
<updated>2015-09-17T19:29:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-09-17T19:29:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2654356d4ef9ffac4adda2b053d45def8e0a45c'/>
<id>urn:sha1:a2654356d4ef9ffac4adda2b053d45def8e0a45c</id>
<content type='text'>
The branch descriptions that are set with "git branch --edit-description"
option were used in many places but they weren't clearly documented.

* po/doc-branch-desc:
  doc: show usage of branch description
</content>
</entry>
</feed>
