summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorAbhradeep Chakraborty <chakrabortyabhradeep79@gmail.com>2022-08-14 16:55:06 +0000
committerJunio C Hamano <gitster@pobox.com>2022-08-26 10:13:33 -0700
commite9977b12fdd64a9c5d7d0aff10709e043181ca7b (patch)
tree84a3a64181168be9be8a9458352f32b4d76e3f7f /builtin/commit-graph.c
parentafa70145a25e81faa685dc0b465e52b45d2444bd (diff)
Documentation/technical: describe bitmap lookup table extension
When reading bitmap file, Git loads each and every bitmap one by one even if all the bitmaps are not required. A "bitmap lookup table" extension to the bitmap format can reduce the overhead of loading bitmaps which stores a list of bitmapped commit id pos (in the midx or pack, along with their offset and xor offset. This way Git can load only the necessary bitmaps without loading the previous bitmaps. Older versions of Git ignore the lookup table extension and don't throw any kind of warning or error while parsing the bitmap file. Add some information for the new "bitmap lookup table" extension in the bitmap-format documentation. Mentored-by: Taylor Blau <me@ttaylorr.com> Co-Mentored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com> Co-Authored-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Abhradeep Chakraborty <chakrabortyabhradeep79@gmail.com> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions