summaryrefslogtreecommitdiffstats
path: root/technical
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-28 14:14:03 -0700
committerJunio C Hamano <gitster@pobox.com>2021-09-28 14:14:03 -0700
commit04ae28bcd0654cd937a78473ed1541f20c0bd8b7 (patch)
tree605459ca354d12377729a4f67c049add643aa31c /technical
parenteb4d567e7d4be3b673ecb1b77c89eef87fbbe48d (diff)
downloadgit-htmldocs-04ae28bcd0654cd937a78473ed1541f20c0bd8b7.tar.gz
Autogenerated HTML docs for v2.33.0-610-gcefe9
Diffstat (limited to 'technical')
-rw-r--r--technical/protocol-v2.html8
-rw-r--r--technical/protocol-v2.txt6
2 files changed, 11 insertions, 3 deletions
diff --git a/technical/protocol-v2.html b/technical/protocol-v2.html
index a925fad28..2b9e5693f 100644
--- a/technical/protocol-v2.html
+++ b/technical/protocol-v2.html
@@ -980,7 +980,11 @@ peel
Show peeled tags.
ref-prefix &lt;prefix&gt;
When specified, only references having a prefix matching one of
- the provided prefixes are displayed.</code></pre>
+ the provided prefixes are displayed. Multiple instances may be
+ given, in which case references matching any prefix will be
+ shown. Note that this is purely for optimization; a server MAY
+ show refs not matching the prefix if it chooses, and clients
+ should filter the result themselves.</code></pre>
</div></div>
<div class="paragraph"><p>If the <em>unborn</em> feature is advertised the following argument can be
included in the client&#8217;s request.</p></div>
@@ -1470,7 +1474,7 @@ and associated requested information, each separated by a single space.</p></div
<div id="footer">
<div id="footer-text">
Last updated
- 2021-09-23 14:33:59 PDT
+ 2021-09-28 14:12:09 PDT
</div>
</div>
</body>
diff --git a/technical/protocol-v2.txt b/technical/protocol-v2.txt
index 59b86fcf9..21e8258cc 100644
--- a/technical/protocol-v2.txt
+++ b/technical/protocol-v2.txt
@@ -199,7 +199,11 @@ ls-refs takes in the following arguments:
Show peeled tags.
ref-prefix <prefix>
When specified, only references having a prefix matching one of
- the provided prefixes are displayed.
+ the provided prefixes are displayed. Multiple instances may be
+ given, in which case references matching any prefix will be
+ shown. Note that this is purely for optimization; a server MAY
+ show refs not matching the prefix if it chooses, and clients
+ should filter the result themselves.
If the 'unborn' feature is advertised the following argument can be
included in the client's request.