diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-06-10 13:57:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-10 18:06:34 -0700 |
commit | dd4b732df73b06878b81fce050e7dcac4366a38e (patch) | |
tree | 7bfe19e33dc531f2eb0ef6fba249bcc819f772ed /alloc.h | |
parent | fetch-pack: support more than one pack lockfile (diff) | |
download | tgif-dd4b732df73b06878b81fce050e7dcac4366a38e.tar.xz |
upload-pack: send part of packfile response as uri
Teach upload-pack to send part of its packfile response as URIs.
An administrator may configure a repository with one or more
"uploadpack.blobpackfileuri" lines, each line containing an OID, a pack
hash, and a URI. A client may configure fetch.uriprotocols to be a
comma-separated list of protocols that it is willing to use to fetch
additional packfiles - this list will be sent to the server. Whenever an
object with one of those OIDs would appear in the packfile transmitted
by upload-pack, the server may exclude that object, and instead send the
URI. The client will then download the packs referred to by those URIs
before performing the connectivity check.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alloc.h')
0 files changed, 0 insertions, 0 deletions