summaryrefslogtreecommitdiff
path: root/reflog-walk.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-03-20 16:02:55 -0400
committerJunio C Hamano <gitster@pobox.com>2023-03-20 14:40:13 -0700
commit3acd24d42afc1f51ec55a33abe6168ccd6c92efb (patch)
tree54c6fa093881dd8083e99723cc708823ec580483 /reflog-walk.c
parente535db7c6983bdd16754b9a3b5cda5f41fd0e19a (diff)
downloadgit-3acd24d42afc1f51ec55a33abe6168ccd6c92efb.tar.gz
pack-bitmap.c: factor out `bitmap_index_seek_commit()`
Factor out a common pattern within `lazy_bitmap_for_commit()` where we seek to a given position (expecting to read the start of an individual bitmap entry). Both spots within `lazy_bitmap_for_commit()` emit a common error, so factor out the whole routine into its own function to DRY things up a little. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.c')
0 files changed, 0 insertions, 0 deletions