summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-07-07 09:21:20 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-07 10:49:40 -0700
commit9ca3ea9881a1c1e238820ce3f6a63f6ad6fce4d5 (patch)
treed506d248ddbc3afb15fed35a75815065275e4147 /git-commit-script
parentcd4c25d9e950576cb0f78010719e1d3bd478bf4e (diff)
setup: rename `check_repository_format_gently()`
The function `check_repository_format_gently()` receives a format as input. An unknowing reader may thus suspect that this function actually checks the passed-in format for consistency. While the function indeed checks the repository format, it actually serves two purposes: - It reads the repository's format and populates the passed-in format with that information. - It then indeed checks whether the format is consistent. Rename the function to `read_and_verify_repository_format()` to clarify its functionality. While at it, reorder the parameters so that the format comes first to better match other functions that pass around the format. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions