Skip to content

nd/pack-objects-pack-struct update

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15read-cache.c: make $GIT_TEST_SPLIT_INDEX booleanci/run-build-and-tests.sh read-cache.c t/README+14 -31 reply
2/15pack-objects: a bit of document about struct object_entrypack-objects.h+45 -00 replies
3/15pack-objects: turn type and in_pack_type to bitfieldsbuiltin/pack-objects.c cache.h object.h +2 more+58 -300 replies
4/15pack-objects: use bitfield for object_entry::dfs_statebuiltin/pack-objects.c pack-objects.h+20 -110 replies
5/15pack-objects: use bitfield for object_entry::depthDocumentation/config.txt Documentation/git-pack-objects.txt Documentation/git-repack.txt +2 more+15 -50 replies
6/15pack-objects: move in_pack_pos out of struct object_entrybuiltin/pack-objects.c pack-bitmap-write.c pack-bitmap.c +2 more+26 -70 replies
7/15pack-objects: move in_pack out of struct object_entrybuiltin/pack-objects.c object-store.h pack-objects.c +3 more+130 -120 replies
8/15pack-objects: refer to delta objects by index instead of pointerbuiltin/pack-objects.c pack-objects.h+125 -590 replies
9/15pack-objects: shrink z_delta_size field in struct object_entryDocumentation/config.txt builtin/pack-objects.c pack-objects.h+22 -80 replies
10/15pack-objects: don't check size when the object is badbuiltin/pack-objects.c+2 -20 replies
11/15pack-objects: clarify the use of object_entry::sizebuiltin/pack-objects.c pack-objects.h+11 -40 replies
12/15pack-objects: shrink size field in struct object_entrybuiltin/pack-objects.c pack-objects.c pack-objects.h +1 more+145 -260 replies
13/15pack-objects: shrink delta_size field in struct object_entrybuiltin/pack-objects.c pack-objects.h+38 -110 replies
14/15pack-objects: reorder members to shrink struct object_entrypack-objects.h+21 -70 replies
15/15ci: exercise the whole test suite with uncommon code in pack-objectsci/run-build-and-tests.sh+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] nd/pack-objects-pack-struct update

This is basically a resend from the last round but rebased on latest master to take advantage of new object-store and oid changes. One minor change is t/README now mentions about git-config when a variable accepts a boolean value.

Nguyễn Thái Ngọc Duy (15):
read-cache.c: make $GIT_TEST_SPLIT_INDEX boolean
pack-objects: a bit of document about struct object_entry
pack-objects: turn type and in_pack_type to bitfields
pack-objects: use bitfield for object_entry::dfs_state
pack-objects: use bitfield for object_entry::depth
pack-objects: move in_pack_pos out of struct object_entry
pack-objects: move in_pack out of struct object_entry
pack-objects: refer to delta objects by index instead of pointer
pack-objects: shrink z_delta_size field in struct object_entry
pack-objects: don't check size when the object is bad
pack-objects: clarify the use of object_entry::size
pack-objects: shrink size field in struct object_entry
pack-objects: shrink delta_size field in struct object_entry
pack-objects: reorder members to shrink struct object_entry
ci: exercise the whole test suite with uncommon code in pack-objects

 Documentation/config.txt           |   4 +-
 Documentation/git-pack-objects.txt |   4 +-
 Documentation/git-repack.txt       |   4 +-
 builtin/pack-objects.c             | 364 +++++++++++++++++++----------
 cache.h                            |   2 +
 ci/run-build-and-tests.sh          |   5 +-
 object-store.h                     |   1 +
 object.h                           |   1 -
 pack-bitmap-write.c                |  14 +-
 pack-bitmap.c                      |   2 +-
 pack-bitmap.h                      |   4 +-
 pack-objects.c                     |  68 ++++++
 pack-objects.h                     | 314 +++++++++++++++++++++++--
 read-cache.c                       |   4 +-
 t/README                           |  22 ++
 t/t5300-pack-object.sh             |   5 +
 16 files changed, 654 insertions(+), 164 deletions(-)
Signature · 1 line
2.17.0.367.g5dd2e386c3