diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-01-15 10:35:33 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-15 05:32:31 -0800 |
| commit | a468f3cefab32eed7d9a12bd6b93719d38ec67a6 (patch) | |
| tree | 4888295f011c0fc5bebe3ea39a656ab80744e573 /contrib/persistent-https | |
| parent | ff9fb2cfe6efb26b9d25dc5c114ab56126f9003e (diff) | |
| download | git-a468f3cefab32eed7d9a12bd6b93719d38ec67a6.tar.gz git-a468f3cefab32eed7d9a12bd6b93719d38ec67a6.zip | |
commit: rename `reverse_commit_list()` to conform to coding guidelines
Our coding guidelines say that:
Functions that operate on `struct S` are named `S_<verb>()` and should
generally receive a pointer to `struct S` as first parameter.
While most of the functions related to `struct commit_list` already
follow that naming schema, `reverse_commit_list()` doesn't.
Rename the function to address this and adjust all of its callers. Add a
compatibility wrapper for the old function name to ease the transition
and avoid any semantic conflicts with in-flight patch series. This
wrapper will be removed once Git 2.53 has been released.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
