Re: [PATCH v4 23/28] trailer: add new helper functions to API
- From
- Linus Arver <linusa@google.com>
- Date
- Feb 13, 2024, 17:57 UTC
- Message-ID
- <owlya5o4b61x.fsf@fine.c.googlers.com>
- In-Reply-To
- <CAP8UFD0XjHtwB55XDajJia994TmUwub4L73QxhCQ8yTXc8++Ww@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
Show 18 quoted lines
> On Tue, Feb 6, 2024 at 6:12 AM Linus Arver via GitGitGadget > <gitgitgadget@gmail.com> wrote: >> >> From: Linus Arver <linusa@google.com> >> >> 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.
I assume you mean that you'd like for the movement of free_new_trailers() to be separated into its own patch, separate from the introduction of new helper functions. I agree.
Will update.