summaryrefslogtreecommitdiffstats
path: root/git-fetch.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-02 16:01:45 -0700
committerJunio C Hamano <gitster@pobox.com>2018-08-02 16:01:45 -0700
commitf09b7cd0fc08d1df0fbd5c756672772049836b7a (patch)
treef5407aed048f255184084b9127f43dbf337eb27a /git-fetch.html
parent1ff0338e53a8f0c62e5a9370e770e20058c5ad1e (diff)
downloadgit-htmldocs-f09b7cd0fc08d1df0fbd5c756672772049836b7a.tar.gz
Autogenerated HTML docs for v2.18.0-547-g1d893
Diffstat (limited to 'git-fetch.html')
-rw-r--r--git-fetch.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/git-fetch.html b/git-fetch.html
index 8fc832a2a..e58fc1a3c 100644
--- a/git-fetch.html
+++ b/git-fetch.html
@@ -872,6 +872,25 @@ the current repository has the same history as the source repository.</p></div>
</p>
</dd>
<dt class="hdlist1">
+--negotiation-tip=&lt;commit|glob&gt;
+</dt>
+<dd>
+<p>
+ By default, Git will report, to the server, commits reachable
+ from all local refs to find common commits in an attempt to
+ reduce the size of the to-be-received packfile. If specified,
+ Git will only report commits reachable from the given tips.
+ This is useful to speed up fetches when the user knows which
+ local ref is likely to have commits in common with the
+ upstream ref being fetched.
+</p>
+<div class="paragraph"><p>This option may be specified more than once; if so, Git will report
+commits reachable from any of the given commits.</p></div>
+<div class="paragraph"><p>The argument to this option may be a glob on ref names, a ref, or the (possibly
+abbreviated) SHA-1 of a commit. Specifying a glob is equivalent to specifying
+this option multiple times, one for each matching ref name.</p></div>
+</dd>
+<dt class="hdlist1">
--dry-run
</dt>
<dd>