aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-03-04 11:48:47 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-04 10:19:30 -0800
commit5c11529c665fa2c206c00781ddf8710c4000cbda (patch)
tree92aa597ffcdc49bcca7bed486dd788807ea0739b /builtin/commit.c
parentStart the 2.45 cycle (diff)
downloadgit-5c11529c665fa2c206c00781ddf8710c4000cbda.tar.gz
git-5c11529c665fa2c206c00781ddf8710c4000cbda.zip
reftable/pq: use `size_t` to track iterator index
The reftable priority queue is used by the merged iterator to yield records from its sub-iterators in the expected order. Each entry has a record corresponding to such a sub-iterator as well as an index that indicates which sub-iterator the record belongs to. But while the sub-iterators are tracked with a `size_t`, we store the index as an `int` in the entry. Fix this and use `size_t` consistently. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions