aboutsummaryrefslogtreecommitdiffstats
path: root/packfile.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-04-16 19:28:11 +0900
committerJunio C Hamano <gitster@pobox.com>2019-04-16 19:28:11 +0900
commitec08c4fd951b9ea5136aaecbaec834ffb665da80 (patch)
tree84547a0f57001f53d2f874df4d8980d02a1a9b5f /packfile.c
parent26623f8f12331046beb87681d23f324f5d3e4e49 (diff)
parent5ae18df9d8ed27625f81974c3fb2db179a23ca2d (diff)
downloadgit-ec08c4fd951b9ea5136aaecbaec834ffb665da80.tar.gz
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.c')
-rw-r--r--packfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.c b/packfile.c
index 16bcb75262..d2bcb2f860 100644
--- a/packfile.c
+++ b/packfile.c
@@ -309,7 +309,7 @@ void close_pack_windows(struct packed_git *p)
}
}
-static int close_pack_fd(struct packed_git *p)
+int close_pack_fd(struct packed_git *p)
{
if (p->pack_fd < 0)
return 0;