summaryrefslogtreecommitdiffstats
path: root/packfile.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-10-25 08:44:17 +0200
committerTaylor Blau <me@ttaylorr.com>2024-10-25 23:35:46 +0200
commit019b21d4022c6e3a43f54a3c16c881e9419e25eb (patch)
treece69538d45a30c0075fceb77cd67c39ac99464cd /packfile.c
parentmidx: avoid duplicate packed_git entries (diff)
downloadgit-019b21d4022c6e3a43f54a3c16c881e9419e25eb.tar.xz
git-019b21d4022c6e3a43f54a3c16c881e9419e25eb.zip
t5550: count fetches in "previously-fetched .idx" test
We have a test in t5550 that looks at index fetching over dumb http. It creates two branches, each of which is completely stored in its own pack, then fetches the branches independently. What should (and does) happen is that the first fetch grabs both .idx files and one .pack file, and then the fetch of the second branch re-uses the previously downloaded .idx files (fetching none) and grabs the now-required .pack file. Since the next few patches will be touching this area of the code, let's beef up the test a little by checking that we're downloading the expected items at each step. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'packfile.c')
0 files changed, 0 insertions, 0 deletions