Re: [PATCH v4 16/28] trailer: finish formatting unification
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Feb 12, 2024, 23:38 UTC
- Message-ID
- <CAP8UFD283wk9b+D+s3azcg9DHjaonaq6-eY1KDHkP8UWZYVXQg@mail.gmail.com>
- In-Reply-To
- <31725832224e3d6b14066af8a87eaf4ab589179e.1707196348.git.gitgitgadget@gmail.com>
On Tue, Feb 6, 2024 at 6:12 AM Linus Arver via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 10 quoted lines
> /* > - * Format the trailers from the commit msg "msg" into the strbuf "out". > - * Note two caveats about "opts": > - * > - * - this is primarily a helper for pretty.c, and not > - * all of the flags are supported. > - * > - * - this differs from process_trailers slightly in that we always format > - * only the trailer block itself, even if the "only_trailers" option is not > - * set.
This makes me wonder if there was actually a good reason why format_trailers() and format_trailer_info() were 2 different functions. Is there info about this in the commit message of the commit which introduced this comment?