summaryrefslogtreecommitdiffstats
path: root/repository.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-06-23 01:29:05 +0200
committerJunio C Hamano <gitster@pobox.com>2023-06-23 01:29:05 +0200
commitf2ffc7418685f75e43e2919426276141fd62c656 (patch)
tree44571a732337464a3a2a6ac20259d7923bd6ff8a /repository.h
parentMerge branch 'ja/worktree-orphan' (diff)
parentpack-bitmap.c: use commit boundary during bitmap traversal (diff)
downloadgit-f2ffc7418685f75e43e2919426276141fd62c656.tar.xz
git-f2ffc7418685f75e43e2919426276141fd62c656.zip
Merge branch 'tb/pack-bitmap-traversal-with-boundary'
The object traversal using reachability bitmap done by "pack-object" has been tweaked to take advantage of the fact that using "boundary" commits as representative of all the uninteresting ones can save quite a lot of object enumeration. * tb/pack-bitmap-traversal-with-boundary: pack-bitmap.c: use commit boundary during bitmap traversal pack-bitmap.c: extract `fill_in_bitmap()` object: add object_array initializer helper function
Diffstat (limited to 'repository.h')
-rw-r--r--repository.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/repository.h b/repository.h
index 74ae26635a..586086783f 100644
--- a/repository.h
+++ b/repository.h
@@ -37,6 +37,7 @@ struct repo_settings {
int command_requires_full_index;
int sparse_index;
int pack_read_reverse_index;
+ int pack_use_bitmap_boundary_traversal;
struct fsmonitor_settings *fsmonitor; /* lazily loaded */