]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tn/packfile-uri-concurrency' into seen
authorJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:44:40 +0000 (10:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:44:40 +0000 (10:44 -0700)
commitb3985ccd0855af75cd107ce5746f3575ef068161
treeddd9b857ccf3a4bd0014b6071143816493cb958f
parenta168314e2951af157463499a095a0f834050cd20
parentc4244bdfe6d28ed552e10f1e37387978549b36ed
Merge branch 'tn/packfile-uri-concurrency' into seen

Concurrent downloads of packfiles via packfile URIs and dumb HTTP have
been made safer by avoiding concurrent appends to the staging file.
Opening the file in read-write mode and maintaining separate file
offsets prevents corruption while preserving resumability.  The
'fetch-pack' command has also been updated to tolerate 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