Subject: Re: [PATCH 1/2] *: replace deprecated free_commit_list

From: Patrick Steinhardt <[email-masked]>
Date: Thu, 28 May 2026 07:24:04 +0200

On Wed, May 27, 2026 at 03:59:25PM +0200, [email-masked] wrote:
> From: Kristoffer Haugsbakk <[email-masked]>
> 
> Replace `free_commit_list` with `commit_list_free`. The former was
> deprecated in 9f18d089 (commit: rename `free_commit_list()` to conform
> to coding guidelines, 2026-01-15).
> 
> This allows us to remove all the deprecated functions in the
> next commit:
> 
> • `copy_commit_list`
> • `reverse_commit_list`
> • `free_commit_list`
> 
> Signed-off-by: Kristoffer Haugsbakk <[email-masked]>
> ---
>  builtin/history.c | 4 ++--
>  replay.c          | 2 +-
>  upload-pack.c     | 4 ++--
>  3 files changed, 5 insertions(+), 5 deletions(-)

Heh. Funny to see that I introduced the new functions, and that I was
also the one that continued using the old ones most :)

Patrick