diff options
| author | Jeff King <peff@peff.net> | 2020-12-08 17:03:38 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-12-08 14:48:16 -0800 |
| commit | d574bf43e806e0d4d6cda7c2f5d016a87843078f (patch) | |
| tree | 351c68d79731001f1db28acd9e97a60b2e894546 /commit.c | |
| parent | rev-list: die when --test-bitmap detects a mismatch (diff) | |
| download | git-d574bf43e806e0d4d6cda7c2f5d016a87843078f.tar.gz git-d574bf43e806e0d4d6cda7c2f5d016a87843078f.zip | |
ewah: factor out bitmap growth
We auto-grow bitmaps when somebody asks to set a bit whose position is
outside of our currently allocated range. Other operations besides
single bit-setting might need to do this, too, so let's pull it into its
own function.
Note that we change the semantics a little: you now ask for the number
of words you'd like to have, not the id of the block you'd like to write
to.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
