summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorChandra Pratap <chandrapratap3519@gmail.com>2024-08-21 18:00:55 +0530
committerJunio C Hamano <gitster@pobox.com>2024-08-21 09:41:40 -0700
commitc25cbcd352c5831a1270b57104ecb6c0e6789a0c (patch)
treeb0f077f2813fb844864947d191aadb7c3bf452b2 /builtin/commit.c
parente638e9c8f3c3e7173e53d50d6d2b06a5f8f02ed8 (diff)
t-reftable-block: use reftable_record_key() instead of strbuf_addstr()
In the current testing setup, the record key required for many block iterator functions is manually stored in a strbuf struct and then passed to these functions. This is not ideal when there exists a dedicated function to encode a record's key into a strbuf, namely reftable_record_key(). Use this function instead of manual encoding. Mentored-by: Patrick Steinhardt <ps@pks.im> Mentored-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions