diff options
author | Jeff King <peff@peff.net> | 2021-09-15 14:35:34 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-15 12:25:19 -0700 |
commit | 9db5fb4fb352e79931e50f6de71497e273a3a6ac (patch) | |
tree | cf0f43d9281a5e8a745de397c936de22df2b054f /Documentation/git-commit-tree.txt | |
parent | ls-refs: ignore very long ref-prefix counts (diff) | |
download | tgif-9db5fb4fb352e79931e50f6de71497e273a3a6ac.tar.xz |
docs/protocol-v2: clarify some ls-refs ref-prefix details
We've never documented the fact that a client can provide multiple
ref-prefix capabilities. Let's describe the behavior.
We also never discussed the "best effort" nature of the prefixes. The
client side of git.git has always treated them this way, filtering the
result with local patterns. And indeed any client must do this, because
the prefix patterns are not sufficient to express the usual refspecs
(and so for "foo" we ask for "refs/heads/foo", "refs/tags/foo", and so
on).
So this may be considered a change in the spec with respect to client
expectations / requirements, but it's mostly codifying existing
behavior.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit-tree.txt')
0 files changed, 0 insertions, 0 deletions