summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorLucas Seiki Oshiro <lucasseikioshiro@gmail.com>2026-02-25 13:32:12 -0300
committerJunio C Hamano <gitster@pobox.com>2026-02-25 11:47:42 -0800
commit7377a6ef6b9cec293a3f65be7499d5e5ee9c3fae (patch)
tree151ffbdd0a9fc319312c3d5cd618f7e4dd71f491 /contrib/persistent-https
parent3d4e6d319383d31b319227ed099a7dbd0706e165 (diff)
downloadgit-7377a6ef6b9cec293a3f65be7499d5e5ee9c3fae.tar.gz
git-7377a6ef6b9cec293a3f65be7499d5e5ee9c3fae.zip
repo: replace get_value_fn_for_key by get_repo_info_field
Remove the function `get_value_fn_for_key`, which returns a function that retrieves a value for a certain repo info key. Introduce `get_repo_info_field` instead, which returns a struct field. This refactor makes the structure of the function print_fields more consistent to the function print_all_fields, improving its readability. Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions