]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/dumb-http-finalize'
authorTaylor Blau <me@ttaylorr.com>
Fri, 1 Nov 2024 16:53:31 +0000 (12:53 -0400)
committerTaylor Blau <me@ttaylorr.com>
Fri, 1 Nov 2024 16:53:32 +0000 (12:53 -0400)
The dumb-http code regressed when the result of re-indexing a pack
yielded an *.idx file that differs in content from the *.idx file it
downloaded from the remote. This has been corrected by no longer
relying on the *.idx file we got from the remote.

* jk/dumb-http-finalize:
  packfile: use oidread() instead of hashcpy() to fill object_id
  packfile: use object_id in find_pack_entry_one()
  packfile: convert find_sha1_pack() to use object_id
  http-walker: use object_id instead of bare hash
  packfile: warn people away from parse_packed_git()
  packfile: drop sha1_pack_index_name()
  packfile: drop sha1_pack_name()
  packfile: drop has_pack_index()
  dumb-http: store downloaded pack idx as tempfile
  t5550: count fetches in "previously-fetched .idx" test
  midx: avoid duplicate packed_git entries

1  2 
http.c
t/t5550-http-fetch-dumb.sh

diff --cc http.c
Simple merge
Simple merge