summaryrefslogtreecommitdiff
path: root/contrib/hg-to-git/hg-to-git.py
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-08-28 12:50:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-08-28 20:23:37 (GMT)
commit969a5645876ccf368ed74fde2c5dc9b5432b7bb0 (patch)
tree1b9b000d98486d1a0640cc6072c14e227fe344e8 /contrib/hg-to-git/hg-to-git.py
parent761416ef91d819d84a11222ec5bc3cbc66d3ddac (diff)
downloadgit-969a5645876ccf368ed74fde2c5dc9b5432b7bb0.zip
git-969a5645876ccf368ed74fde2c5dc9b5432b7bb0.tar.gz
git-969a5645876ccf368ed74fde2c5dc9b5432b7bb0.tar.bz2
pack-bitmap-write: drop unused pack_idx_entry parameters
Our write_selected_commits_v1() function takes an array of pack_idx_entry structs. We used to need them for computing commit positions, but since aa30162559 (bitmap: move `get commit positions` code to `bitmap_writer_finish`, 2022-08-14), the caller passes in a separate array of positions for us. We can drop the unused array (and its matching length parameter). Likewise, when we added write_lookup_table() in 93eb41e240 (pack-bitmap-write.c: write lookup table extension, 2022-08-14), it receives the same array of positions. So its "index" parameter was never used at all. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hg-to-git/hg-to-git.py')
0 files changed, 0 insertions, 0 deletions