···593int name_compare(const char *name1, size_t len1, const char *name2, size_t len2);
594int cache_name_stage_compare(const char *name1, int len1, int stage1, const char *name2, int len2, int stage2);
59500000000000000596/* Dumb servers support */
597int update_server_info(int);
598
+14-2
packfile.h
···67/* in object-store.h */
8struct packed_git;
9-struct pack_entry;
10-struct pack_window;
11struct object_info;
000000000000001213/*
14 * Generate the filename to be used for a pack file with checksum "sha1" and
···67/* in object-store.h */
8struct packed_git;
009struct object_info;
10+11+struct pack_window {
12+ struct pack_window *next;
13+ unsigned char *base;
14+ off_t offset;
15+ size_t len;
16+ unsigned int last_used;
17+ unsigned int inuse_cnt;
18+};
19+20+struct pack_entry {
21+ off_t offset;
22+ struct packed_git *p;
23+};
2425/*
26 * Generate the filename to be used for a pack file with checksum "sha1" and
+1
t/helper/test-read-midx.c
···5#include "repository.h"
6#include "object-store.h"
7#include "pack-bitmap.h"
08#include "setup.h"
910static int read_midx_file(const char *object_dir, int show_objects)
···5#include "repository.h"
6#include "object-store.h"
7#include "pack-bitmap.h"
8+#include "packfile.h"
9#include "setup.h"
1011static int read_midx_file(const char *object_dir, int show_objects)