summaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-04-16 19:28:11 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-16 19:28:11 +0900
commitec08c4fd951b9ea5136aaecbaec834ffb665da80 (patch)
tree84547a0f57001f53d2f874df4d8980d02a1a9b5f /packfile.h
parentMerge branch 'bb/unicode-12' (diff)
parentmidx: during verify group objects by packfile to speed verification (diff)
downloadtgif-ec08c4fd951b9ea5136aaecbaec834ffb665da80.tar.xz
Merge branch 'jh/midx-verify-too-many-packs'
"git multi-pack-index verify" did not scale well with the number of packfiles, which is being improved. * jh/midx-verify-too-many-packs: midx: during verify group objects by packfile to speed verification midx: add progress indicators in multi-pack-index verify trace2:data: add trace2 data to midx progress: add sparse mode to force 100% complete message
Diffstat (limited to 'packfile.h')
-rw-r--r--packfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h
index d70c6d9afb..b1c18504eb 100644
--- a/packfile.h
+++ b/packfile.h
@@ -76,6 +76,8 @@ extern int open_pack_index(struct packed_git *);
*/
extern void close_pack_index(struct packed_git *);
+int close_pack_fd(struct packed_git *p);
+
extern uint32_t get_pack_fanout(struct packed_git *p, uint32_t value);
extern unsigned char *use_pack(struct packed_git *, struct pack_window **, off_t, unsigned long *);