]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tn/packfile-uri-concurrency'
authorJunio C Hamano <gitster@pobox.com>
Sat, 15 Aug 2026 16:20:26 +0000 (09:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Aug 2026 16:20:27 +0000 (09:20 -0700)
commit8b34c1f35249c02f42447902ffcd0745bdc58e70
tree05cdf0a3f2d69754b30494395ca863301c7b0c0d
parentf2f3a37b68be969db7a8f02366c574770d7f17e1
parentc4244bdfe6d28ed552e10f1e37387978549b36ed
Merge branch 'tn/packfile-uri-concurrency'

Concurrent downloads of packfiles via packfile URIs and dumb HTTP are
safer by avoiding concurrent appends to the staging file.  Opening in
read-write mode with separate file offsets prevents corruption and
preserves resumability.  'fetch-pack' now tolerates pre-existing
'.keep' files.

* tn/packfile-uri-concurrency:
  fetch-pack: accept "pack" output for packfile URIs
  http: permit unlinking partial packs on Windows
  http: avoid concurrent appends to partial packs
  http: accept HTTP 416 for complete partial packs
  http: avoid closing index-pack input twice
  http-fetch: correct --index-pack-arg documentation
fetch-pack.c
http-push.c
http.c
t/t5550-http-fetch-dumb.sh
t/t5702-protocol-v2.sh