summaryrefslogtreecommitdiffstats
path: root/git-log.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-10-09 14:55:30 +0900
committerJunio C Hamano <gitster@pobox.com>2019-10-09 14:55:30 +0900
commit48cd3f1251acf31e83d2e59ddf2176aa8e84290c (patch)
tree56769f5f3a65e8ce06b8eaa6f1b8bb795c8c6434 /git-log.html
parenta8858316fb3186e69d324183d9af58ef55dfb794 (diff)
downloadgit-htmldocs-48cd3f1251acf31e83d2e59ddf2176aa8e84290c.tar.gz
Autogenerated HTML docs for v2.23.0-526-g70bf0
Diffstat (limited to 'git-log.html')
-rw-r--r--git-log.html30
1 files changed, 17 insertions, 13 deletions
diff --git a/git-log.html b/git-log.html
index 06252c80f..e7d61de9d 100644
--- a/git-log.html
+++ b/git-log.html
@@ -2956,7 +2956,7 @@ show the fingerprint of the primary key whose subkey was used
<dd>
<p>
reflog selector, e.g., <code>refs/stash@{1}</code> or <code>refs/stash@{2
- minutes ago</code>}; the format follows the rules described for the
+ minutes ago}</code>; the format follows the rules described for the
<code>-g</code> option. The portion before the <code>@</code> is the refname as
given on the command line (so <code>git log -g refs/heads/master</code>
would yield <code>refs/heads/master@{0}</code>).
@@ -4363,13 +4363,17 @@ matches "<code>fooasdfbar</code>" and "<code>foo/bar/baz/asdf</code>" but not "<
</div>
</div>
<div class="sect1">
-<h2 id="_generating_patches_with_p">Generating patches with -p</h2>
+<h2 id="_generating_patch_text_with_p">Generating patch text with -p</h2>
<div class="sectionbody">
-<div class="paragraph"><p>When "git-diff-index", "git-diff-tree", or "git-diff-files" are run
-with a <code>-p</code> option, "git diff" without the <code>--raw</code> option, or
-"git log" with the "-p" option, they
-do not produce the output described above; instead they produce a
-patch file. You can customize the creation of such patches via the
+<div class="paragraph"><p>Running
+<a href="git-diff.html">git-diff(1)</a>,
+<a href="git-log.html">git-log(1)</a>,
+<a href="git-show.html">git-show(1)</a>,
+<a href="git-diff-index.html">git-diff-index(1)</a>,
+<a href="git-diff-tree.html">git-diff-tree(1)</a>, or
+<a href="git-diff-files.html">git-diff-files(1)</a>
+with the <code>-p</code> option produces patch text.
+You can customize the creation of patch text via the
<code>GIT_EXTERNAL_DIFF</code> and the <code>GIT_DIFF_OPTS</code> environment variables.</p></div>
<div class="paragraph"><p>What the -p option produces is slightly different from the traditional
diff format:</p></div>
@@ -4416,7 +4420,7 @@ is a rounded down integer, followed by a percent sign. The
similarity index value of 100% is thus reserved for two equal
files, while 100% dissimilarity means that no line from the old
file made it into the new one.</p></div>
-<div class="paragraph"><p>The index line includes the SHA-1 checksum before and after the change.
+<div class="paragraph"><p>The index line includes the blob object names before and after the change.
The &lt;mode&gt; is included if the file mode does not change; otherwise,
separate lines indicate the old and the new mode.</p></div>
</li>
@@ -4448,7 +4452,7 @@ rename to a</code></pre>
</div>
</div>
<div class="sect1">
-<h2 id="_combined_diff_format">combined diff format</h2>
+<h2 id="_combined_diff_format">Combined diff format</h2>
<div class="sectionbody">
<div class="paragraph"><p>Any diff-generating command can take the <code>-c</code> or <code>--cc</code> option to
produce a <em>combined diff</em> when showing a merge. This is the default
@@ -4456,7 +4460,7 @@ format when showing merges with <a href="git-diff.html">git-diff(1)</a> or
<a href="git-show.html">git-show(1)</a>. Note also that you can give the <code>-m</code> option to any
of these commands to force generation of diffs with individual parents
of a merge.</p></div>
-<div class="paragraph"><p>A <em>combined diff</em> format looks like this:</p></div>
+<div class="paragraph"><p>A "combined diff" format looks like this:</p></div>
<div class="listingblock">
<div class="content">
<pre><code>diff --combined describe.c
@@ -4491,13 +4495,13 @@ index fabadb8,cc95eb0..4866510
<li>
<p>
It is preceded with a "git diff" header, that looks like
- this (when <code>-c</code> option is used):
+ this (when the <code>-c</code> option is used):
</p>
<div class="literalblock">
<div class="content">
<pre><code>diff --combined file</code></pre>
</div></div>
-<div class="paragraph"><p>or like this (when <code>--cc</code> option is used):</p></div>
+<div class="paragraph"><p>or like this (when the <code>--cc</code> option is used):</p></div>
<div class="literalblock">
<div class="content">
<pre><code>diff --cc file</code></pre>
@@ -4552,7 +4556,7 @@ parents.</p></div>
Chunk header format is modified to prevent people from
accidentally feeding it to <code>patch -p1</code>. Combined diff format
was created for review of merge commit changes, and was not
- meant for apply. The change is similar to the change in the
+ meant to be applied. The change is similar to the change in the
extended <em>index</em> header:
</p>
<div class="literalblock">