aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-bitmap.c
diff options
context:
space:
mode:
authorLidong Yan <502024330056@smail.nju.edu.cn>2025-07-01 05:32:08 +0000
committerJunio C Hamano <gitster@pobox.com>2025-07-01 14:41:53 -0700
commit73bf771b958b0d28fc5839cd94c4b7ad2029f631 (patch)
tree62499730568e43ccaab54077b4b93babf35c26b3 /t/helper/test-bitmap.c
parentpack-bitmap: fix memory leak if load_bitmap() failed (diff)
downloadgit-73bf771b958b0d28fc5839cd94c4b7ad2029f631.tar.gz
git-73bf771b958b0d28fc5839cd94c4b7ad2029f631.zip
pack-bitmap: reword comments in test_bitmap_commits()
The comment in pack-bitmap.c:test_bitmap_commits(), suggests that we can avoid reading the commit table altogether. However, this comment is misleading. The reason we load bitmap entries here is because test_bitmap_commits() needs to print the commit IDs from the bitmap, and we must read the bitmap entries to obtain those commit IDs. So reword this comment. Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-bitmap.c')
0 files changed, 0 insertions, 0 deletions