commit: remove deprecated functions

These functions were deprecated in a series of commits merged in 52882024 (Merge branch 'ps/commit-list-functions-renamed', 2026-02-13). The compatibility was for in-flight topics at the time. Acked-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Kristoffer Haugsbakk committed May 28, 2026 at 09:00 UTC 83e7f3bd2bac934c21f39175b965c37810a41ea5
1 file changed -19
commit.h
-19
@@ -203,25 +203,6 @@ struct commit_list *commit_list_reverse(struct commit_list *list);
203
204 void commit_list_free(struct commit_list *list);
205
206 -/*
207 - * Deprecated compatibility functions for `struct commit_list`, to be removed
208 - * once Git 2.53 is released.
209 - */
210 -static inline struct commit_list *copy_commit_list(struct commit_list *l)
211 -{
212 - return commit_list_copy(l);
213 -}
214 -
215 -static inline struct commit_list *reverse_commit_list(struct commit_list *l)
216 -{
217 - return commit_list_reverse(l);
218 -}
219 -
220 -static inline void free_commit_list(struct commit_list *l)
221 -{
222 - commit_list_free(l);
223 -}
224 -
206 struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */
207
208 const char *repo_logmsg_reencode(struct repository *r,