aboutsummaryrefslogtreecommitdiffstats
path: root/repository.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-06-22 16:29:05 -0700
committerJunio C Hamano <gitster@pobox.com>2023-06-22 16:29:05 -0700
commitf2ffc7418685f75e43e2919426276141fd62c656 (patch)
tree44571a732337464a3a2a6ac20259d7923bd6ff8a /repository.h
parent4dd046932835d14c449f04ee0f3885669cad60c5 (diff)
parentb0afdce5dab61f224fd66c13768facc36a7f8705 (diff)
downloadgit-f2ffc7418685f75e43e2919426276141fd62c656.tar.gz
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 */