diff options
author | Chandra Pratap <chandrapratap3519@gmail.com> | 2024-08-21 18:00:54 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-21 09:41:40 -0700 |
commit | e638e9c8f3c3e7173e53d50d6d2b06a5f8f02ed8 (patch) | |
tree | cdf0715182c86dfdd8d5e4db6dfe3bc53a0c340c /builtin/commit.c | |
parent | 353672f9f894294d10c85f082f53d591f438e209 (diff) |
t-reftable-block: use reftable_record_equal() instead of check_str()
In the current testing setup, operations like read and write for
reftable blocks as defined by reftable/block.{c, h} are verified by
comparing only the keys of input and output reftable records. This is
not ideal because there can exist inequal reftable records with the
same key. Use the dedicated function for record comparison,
reftable_record_equal(), instead of key-based comparison.
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