]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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

1  2 
fetch-pack.c
http-push.c
http.c
t/t5550-http-fetch-dumb.sh
t/t5702-protocol-v2.sh

diff --cc fetch-pack.c
Simple merge
diff --cc http-push.c
Simple merge
diff --cc http.c
Simple merge
Simple merge
Simple merge