diff options
| author | Ted Nyman <tnyman@openai.com> | 2026-07-26 17:28:43 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-27 12:57:20 -0700 |
| commit | c4244bdfe6d28ed552e10f1e37387978549b36ed (patch) | |
| tree | 8e39678706e9c0026028ebf1e31f2113dc7eba54 /contrib/persistent-https | |
| parent | e92a518a741ead85634c43f871e7e095bcf66f1f (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')
0 files changed, 0 insertions, 0 deletions
