summaryrefslogtreecommitdiff
path: root/contrib/persistent-https/socket.go
diff options
context:
space:
mode:
authorTed Nyman <tnyman@openai.com>2026-07-26 17:28:43 -0700
committerJunio C Hamano <gitster@pobox.com>2026-07-27 12:57:20 -0700
commitc4244bdfe6d28ed552e10f1e37387978549b36ed (patch)
tree8e39678706e9c0026028ebf1e31f2113dc7eba54 /contrib/persistent-https/socket.go
parente92a518a741ead85634c43f871e7e095bcf66f1f (diff)
fetch-pack: accept "pack" output for packfile URIs
When index-pack finds an existing keep file it reports pack rather than keep. Accept either result from http-fetch, and only register a keep lockfile when this fetch created it. Read the pack/keep prefix and hash without consuming any following fsck output, validate the reported pack hash against the advertised hash, and exercise a packfile URI fetch with a pre-existing keep file. Signed-off-by: Ted Nyman <tnyman@openai.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions