</p>\r
</dd>\r
<dt>\r
---pretty[=(raw|medium|short)]\r
+--pretty[=<em><format></em>]\r
</dt>\r
<dd>\r
<p>\r
- This is used to control "pretty printing" format of the\r
- commit message. Without "=<style>", it defaults to\r
- medium.\r
+ Pretty-prints the details of a commit. <tt>--pretty</tt>\r
+ without an explicit <tt>=<format></tt> defaults to <em>medium</em>.\r
+ If the commit is a merge, and if the pretty-format\r
+ is not <em>oneline</em>, <em>email</em> or <em>raw</em>, an additional line is\r
+ inserted before the <em>Author:</em> line. This line begins with\r
+ "Merge: " and the sha1s of ancestral commits are printed,\r
+ separated by spaces. Note that the listed commits may not\r
+ necessarily be the list of the <strong>direct</strong> parent commits if you\r
+ have limited your view of history: for example, if you are\r
+ only interested in changes related to a certain directory or\r
+ file. Here are some additional details for each format:\r
+</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<em>oneline</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><sha1> <title line></tt></pre>\r
+</div></div>\r
+<p>This is designed to be as compact as possible.</p>\r
+</li>\r
+<li>\r
+<p>\r
+<em>short</em>\r
</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>medium</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+Date: <date></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>full</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+Commit: <committer></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>fuller</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+AuthorDate: <date & time>\r
+Commit: <committer>\r
+CommitDate: <date & time></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>email</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>From <sha1> <date>\r
+From: <author>\r
+Date: <date & time>\r
+Subject: [PATCH] <title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>raw</em>\r
+</p>\r
+<p>The <em>raw</em> format shows the entire commit exactly as\r
+stored in the commit object. Notably, the SHA1s are\r
+displayed in full, regardless of whether --abbrev or\r
+--no-abbrev are used, and <em>parents</em> information show the\r
+true parent commits, without taking grafts nor history\r
+simplification into account.</p>\r
+</li>\r
+</ul>\r
</dd>\r
<dt>\r
--no-commit-id\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 27-Oct-2006 09:29:02 UTC\r
+Last updated 23-Nov-2006 02:47:19 UTC\r
</div>\r
</div>\r
</body>\r
This flag causes "git-diff-tree --stdin" to also show
the commit message before the differences.
---pretty[=(raw|medium|short)]::
- This is used to control "pretty printing" format of the
- commit message. Without "=<style>", it defaults to
- medium.
+include::pretty-formats.txt[]
--no-commit-id::
git-diff-tree outputs a line with the commit ID when
<div class="sectionbody">\r
<dl>\r
<dt>\r
---pretty=<format>\r
+--pretty[=<em><format></em>]\r
</dt>\r
<dd>\r
<p>\r
- Controls the way the commit log is formatted.\r
+ Pretty-prints the details of a commit. <tt>--pretty</tt>\r
+ without an explicit <tt>=<format></tt> defaults to <em>medium</em>.\r
+ If the commit is a merge, and if the pretty-format\r
+ is not <em>oneline</em>, <em>email</em> or <em>raw</em>, an additional line is\r
+ inserted before the <em>Author:</em> line. This line begins with\r
+ "Merge: " and the sha1s of ancestral commits are printed,\r
+ separated by spaces. Note that the listed commits may not\r
+ necessarily be the list of the <strong>direct</strong> parent commits if you\r
+ have limited your view of history: for example, if you are\r
+ only interested in changes related to a certain directory or\r
+ file. Here are some additional details for each format:\r
</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<em>oneline</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><sha1> <title line></tt></pre>\r
+</div></div>\r
+<p>This is designed to be as compact as possible.</p>\r
+</li>\r
+<li>\r
+<p>\r
+<em>short</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>medium</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+Date: <date></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>full</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+Commit: <committer></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>fuller</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+AuthorDate: <date & time>\r
+Commit: <committer>\r
+CommitDate: <date & time></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>email</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>From <sha1> <date>\r
+From: <author>\r
+Date: <date & time>\r
+Subject: [PATCH] <title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>raw</em>\r
+</p>\r
+<p>The <em>raw</em> format shows the entire commit exactly as\r
+stored in the commit object. Notably, the SHA1s are\r
+displayed in full, regardless of whether --abbrev or\r
+--no-abbrev are used, and <em>parents</em> information show the\r
+true parent commits, without taking grafts nor history\r
+simplification into account.</p>\r
+</li>\r
+</ul>\r
</dd>\r
<dt>\r
--max-count=<n>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 03-Oct-2006 08:41:09 UTC\r
+Last updated 23-Nov-2006 02:47:21 UTC\r
</div>\r
</div>\r
</body>\r
OPTIONS
-------
---pretty=<format>::
- Controls the way the commit log is formatted.
+
+include::pretty-formats.txt[]
--max-count=<n>::
Limits the number of commits to show.
</dt>\r
<dd>\r
<p>\r
- Pretty print the contents of the commit logs in a given format,\r
- where <em><format></em> can be one of <em>raw</em>, <em>medium</em>, <em>short</em>, <em>full</em>,\r
- and <em>oneline</em>. When left out the format default to <em>medium</em>.\r
+ Pretty-prints the details of a commit. <tt>--pretty</tt>\r
+ without an explicit <tt>=<format></tt> defaults to <em>medium</em>.\r
+ If the commit is a merge, and if the pretty-format\r
+ is not <em>oneline</em>, <em>email</em> or <em>raw</em>, an additional line is\r
+ inserted before the <em>Author:</em> line. This line begins with\r
+ "Merge: " and the sha1s of ancestral commits are printed,\r
+ separated by spaces. Note that the listed commits may not\r
+ necessarily be the list of the <strong>direct</strong> parent commits if you\r
+ have limited your view of history: for example, if you are\r
+ only interested in changes related to a certain directory or\r
+ file. Here are some additional details for each format:\r
</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<em>oneline</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><sha1> <title line></tt></pre>\r
+</div></div>\r
+<p>This is designed to be as compact as possible.</p>\r
+</li>\r
+<li>\r
+<p>\r
+<em>short</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>medium</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+Date: <date></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>full</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+Commit: <committer></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>fuller</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+AuthorDate: <date & time>\r
+Commit: <committer>\r
+CommitDate: <date & time></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>email</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>From <sha1> <date>\r
+From: <author>\r
+Date: <date & time>\r
+Subject: [PATCH] <title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>raw</em>\r
+</p>\r
+<p>The <em>raw</em> format shows the entire commit exactly as\r
+stored in the commit object. Notably, the SHA1s are\r
+displayed in full, regardless of whether --abbrev or\r
+--no-abbrev are used, and <em>parents</em> information show the\r
+true parent commits, without taking grafts nor history\r
+simplification into account.</p>\r
+</li>\r
+</ul>\r
</dd>\r
<dt>\r
--relative-date\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 03-Oct-2006 08:41:25 UTC\r
+Last updated 23-Nov-2006 02:47:21 UTC\r
</div>\r
</div>\r
</body>\r
more specialized family of commit log tools: gitlink:git-log[1],
gitlink:git-show[1], and gitlink:git-whatchanged[1]
---pretty[='<format>']::
-
- Pretty print the contents of the commit logs in a given format,
- where '<format>' can be one of 'raw', 'medium', 'short', 'full',
- and 'oneline'. When left out the format default to 'medium'.
+include::pretty-formats.txt[]
--relative-date::
</p>\r
</dd>\r
<dt>\r
---pretty=<format>\r
+--pretty[=<em><format></em>]\r
</dt>\r
<dd>\r
<p>\r
- Controls the output format for the commit logs.\r
- <format> can be one of <em>raw</em>, <em>medium</em>, <em>short</em>, <em>full</em>,\r
- and <em>oneline</em>.\r
+ Pretty-prints the details of a commit. <tt>--pretty</tt>\r
+ without an explicit <tt>=<format></tt> defaults to <em>medium</em>.\r
+ If the commit is a merge, and if the pretty-format\r
+ is not <em>oneline</em>, <em>email</em> or <em>raw</em>, an additional line is\r
+ inserted before the <em>Author:</em> line. This line begins with\r
+ "Merge: " and the sha1s of ancestral commits are printed,\r
+ separated by spaces. Note that the listed commits may not\r
+ necessarily be the list of the <strong>direct</strong> parent commits if you\r
+ have limited your view of history: for example, if you are\r
+ only interested in changes related to a certain directory or\r
+ file. Here are some additional details for each format:\r
</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<em>oneline</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><sha1> <title line></tt></pre>\r
+</div></div>\r
+<p>This is designed to be as compact as possible.</p>\r
+</li>\r
+<li>\r
+<p>\r
+<em>short</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>medium</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+Date: <date></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>full</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+Commit: <committer></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>fuller</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>commit <sha1>\r
+Author: <author>\r
+AuthorDate: <date & time>\r
+Commit: <committer>\r
+CommitDate: <date & time></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt><full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>email</em>\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>From <sha1> <date>\r
+From: <author>\r
+Date: <date & time>\r
+Subject: [PATCH] <title line></tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>full commit message></tt></pre>\r
+</div></div>\r
+</li>\r
+<li>\r
+<p>\r
+<em>raw</em>\r
+</p>\r
+<p>The <em>raw</em> format shows the entire commit exactly as\r
+stored in the commit object. Notably, the SHA1s are\r
+displayed in full, regardless of whether --abbrev or\r
+--no-abbrev are used, and <em>parents</em> information show the\r
+true parent commits, without taking grafts nor history\r
+simplification into account.</p>\r
+</li>\r
+</ul>\r
</dd>\r
</dl>\r
</div>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 03-Oct-2006 08:41:29 UTC\r
+Last updated 23-Nov-2006 02:47:22 UTC\r
</div>\r
</div>\r
</body>\r
<commitid>::
ID of the commit to show.
---pretty=<format>::
- Controls the output format for the commit logs.
- <format> can be one of 'raw', 'medium', 'short', 'full',
- and 'oneline'.
+include::pretty-formats.txt[]
Author
------
--- /dev/null
+--pretty[='<format>']::
+
+ Pretty-prints the details of a commit. `--pretty`
+ without an explicit `=<format>` defaults to 'medium'.
+ If the commit is a merge, and if the pretty-format
+ is not 'oneline', 'email' or 'raw', an additional line is
+ inserted before the 'Author:' line. This line begins with
+ "Merge: " and the sha1s of ancestral commits are printed,
+ separated by spaces. Note that the listed commits may not
+ necessarily be the list of the *direct* parent commits if you
+ have limited your view of history: for example, if you are
+ only interested in changes related to a certain directory or
+ file. Here are some additional details for each format:
+
+ * 'oneline'
+
+ <sha1> <title line>
++
+This is designed to be as compact as possible.
+
+ * 'short'
+
+ commit <sha1>
+ Author: <author>
+
+ <title line>
+
+ * 'medium'
+
+ commit <sha1>
+ Author: <author>
+ Date: <date>
+
+ <title line>
+
+ <full commit message>
+
+ * 'full'
+
+ commit <sha1>
+ Author: <author>
+ Commit: <committer>
+
+ <title line>
+
+ <full commit message>
+
+ * 'fuller'
+
+ commit <sha1>
+ Author: <author>
+ AuthorDate: <date & time>
+ Commit: <committer>
+ CommitDate: <date & time>
+
+ <title line>
+
+ <full commit message>
+
+
+ * 'email'
+
+ From <sha1> <date>
+ From: <author>
+ Date: <date & time>
+ Subject: [PATCH] <title line>
+
+ full commit message>
+
+
+ * 'raw'
++
+The 'raw' format shows the entire commit exactly as
+stored in the commit object. Notably, the SHA1s are
+displayed in full, regardless of whether --abbrev or
+--no-abbrev are used, and 'parents' information show the
+true parent commits, without taking grafts nor history
+simplification into account.