diff options
author | Chandra Pratap <chandrapratap3519@gmail.com> | 2024-07-12 11:09:00 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-07-12 09:55:40 -0700 |
commit | 8d4f8165d88eb43a4fda8af519936fa194acfbb8 (patch) | |
tree | 53a16a213532d98b4a98ebb52ec4c6812c39002f /builtin/commit.c | |
parent | c755c2f3519075028047b092dd26706ac75d1aff (diff) |
t-reftable-merged: improve the const-correctness of helper functions
In t-reftable-merged.c, a number of helper functions used by the
tests can be re-defined with parameters made 'const' which makes
it easier to understand if they're read-only or not. Re-define
these functions along these lines.
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