]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit1c5a712f26b67e07672a4bcda017046f45545369
tree39ea8e5868816aea5695bb51c47b2570fe4f3168
parent6d81fe64dd646654bdb84fa5832c717954bf1696
parent863f2459a2047406c93758e8c3352cd5d2836f1e
Merge branch 'jk/dumb-http-finalize'

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
http.c
t/t5550-http-fetch-dumb.sh