]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap: factor out 'add_commit_to_bitmap()'
authorTaylor Blau <me@ttaylorr.com>
Tue, 8 Dec 2020 22:05:14 +0000 (17:05 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Dec 2020 22:49:06 +0000 (14:49 -0800)
commit83578051a9c4eca4e6bcd44687e84915e1064bba
tree180d74a1d72f00f1d1014d18f2a53137d581cebe
parent98c31f366a1770fb7ea04125ff2d8b1ea1f7d0d7
pack-bitmap: factor out 'add_commit_to_bitmap()'

'find_objects()' currently needs to interact with the bitmaps khash
pretty closely. To make 'find_objects()' read a little more
straightforwardly, remove some of the khash-level details into a new
function that describes what it does: 'add_commit_to_bitmap()'.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap.c