Re: [PATCH v4 26/28] trailer: unify "--trailer ..." arg handling
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Feb 12, 2024, 23:39 UTC
- Message-ID
- <CAP8UFD3u8qNpxObdOJDfBq+zVfxNwAG56bBcPeSC4i2=ZuhWjw@mail.gmail.com>
- In-Reply-To
- <9720526dd8a63b916c75fe9d6322ee13c8b36621.1707196348.git.gitgitgadget@gmail.com>
On Tue, Feb 6, 2024 at 6:12 AM Linus Arver via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 6 quoted lines
> > From: Linus Arver <linusa@google.com> > > Move the logic of parse_trailer_from_command_line_arg() into > option_parse_trailer(), because that is the only caller and there's no > benefit in keeping these two separate.
Well one benefit could be that 2 small functions might be easier to understand than a big one. So perhaps parse_trailer_from_command_line_arg() could just have been made static?