From: Christian Couder Date: Mon, 12 Feb 2024 23:39:21 GMT Subject: Re: [PATCH v4 23/28] trailer: add new helper functions to API Message-ID: In-Reply-To: <3bfe4809ecbc5aa0ea52daee7684289398cb88d4.1707196348.git.gitgitgadget@gmail.com> On Tue, Feb 6, 2024 at 6:12 AM Linus Arver via GitGitGadget wrote: > > From: Linus Arver > > This is a preparatory refactor for deprecating "new_trailer_item" from > the API (which will let us deprecate > parse_trailers_from_command_line_args()). > > Expose new helper functions from the API, because we'll be calling them > from interpret-trailers.c soon when we move > parse_trailers_from_command_line_args() there. > > Move free_new_trailers() from the builtin to trailer.c because later on > we will adjust it to free arg_item structs, which are private to > trailer.c. This patch seems to be also doing too much.