summaryrefslogtreecommitdiffstats
path: root/git-diff.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-11-11 14:10:41 -0800
committerJunio C Hamano <gitster@pobox.com>2020-11-11 14:10:41 -0800
commitee43d18844df1f78dad8b389cbb393b211073d17 (patch)
tree7f6be6f8062026ad72363aa7f030ab774761f597 /git-diff.html
parenta65c1f44a0fb82bf498be0911b85fa42bb70147f (diff)
downloadgit-htmldocs-ee43d18844df1f78dad8b389cbb393b211073d17.tar.gz
Autogenerated HTML docs for v2.29.2-260-ge31ab
Diffstat (limited to 'git-diff.html')
-rw-r--r--git-diff.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/git-diff.html b/git-diff.html
index 43ae255b3..f6e217eed 100644
--- a/git-diff.html
+++ b/git-diff.html
@@ -933,8 +933,8 @@ and the range notations (<code>&lt;commit&gt;..&lt;commit&gt;</code> and
<dd>
<p>
Generate diffs with &lt;n&gt; lines of context instead of
- the usual three. Implies <code>--patch</code>.
- Implies <code>-p</code>.
+ the usual three.
+ Implies <code>--patch</code>.
</p>
</dd>
<dt class="hdlist1">
@@ -1636,7 +1636,8 @@ override configuration settings.</p></div>
<dd>
<p>
In addition to <code>--full-index</code>, output a binary diff that
- can be applied with <code>git-apply</code>. Implies <code>--patch</code>.
+ can be applied with <code>git-apply</code>.
+ Implies <code>--patch</code>.
</p>
</dd>
<dt class="hdlist1">
@@ -1646,7 +1647,8 @@ override configuration settings.</p></div>
<p>
Instead of showing the full 40-byte hexadecimal object
name in diff-raw format output and diff-tree header
- lines, show only a partial prefix.
+ lines, show the shortest prefix that is at least <em>&lt;n&gt;</em>
+ hexdigits long that uniquely refers the object.
In diff-patch output format, <code>--full-index</code> takes higher
precedence, i.e. if <code>--full-index</code> is specified, full blob
names will be shown regardless of <code>--abbrev</code>.