]> git.ipfire.org Git - thirdparty/git.git/commitdiff
commit: remove deprecated functions
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Thu, 28 May 2026 07:00:11 +0000 (09:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 May 2026 20:11:03 +0000 (05:11 +0900)
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>
commit.h

index 58150045afafed2dceaa952cbb9be7736dd800e8..5352056f87abfa4c82ce14b2db939d3c3be6df62 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -203,25 +203,6 @@ struct commit_list *commit_list_reverse(struct commit_list *list);
 
 void commit_list_free(struct commit_list *list);
 
-/*
- * Deprecated compatibility functions for `struct commit_list`, to be removed
- * once Git 2.53 is released.
- */
-static inline struct commit_list *copy_commit_list(struct commit_list *l)
-{
-       return commit_list_copy(l);
-}
-
-static inline struct commit_list *reverse_commit_list(struct commit_list *l)
-{
-       return commit_list_reverse(l);
-}
-
-static inline void free_commit_list(struct commit_list *l)
-{
-       commit_list_free(l);
-}
-
 struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */
 
 const char *repo_logmsg_reencode(struct repository *r,