diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-06-23 02:29:05 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-23 02:29:05 +0300 |
commit | f2ffc7418685f75e43e2919426276141fd62c656 (patch) | |
tree | 44571a732337464a3a2a6ac20259d7923bd6ff8a /object.h | |
parent | 4dd046932835d14c449f04ee0f3885669cad60c5 (diff) | |
parent | b0afdce5dab61f224fd66c13768facc36a7f8705 (diff) |
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 'object.h')
-rw-r--r-- | object.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -58,6 +58,8 @@ struct object_array { #define OBJECT_ARRAY_INIT { 0 } +void object_array_init(struct object_array *array); + /* * object flag allocation: * revision.h: 0---------10 15 23------27 |