From: Chandra Pratap Date: Fri, 26 Jun 2026 12:14:07 GMT Subject: Re: [PATCH GSoC v14 06/13] fetch-pack: move function to connect.c Message-ID: In-Reply-To: <20260625-ps-eric-work-rebase-v14-6-09f7ffe21a53@gmail.com> On Thu, 25 Jun 2026 at 17:43, Pablo Sabater wrote: > > write_fetch_command_and_capabilities will be refactored in a subsequent Nit: The paragraph below and the preceding patches refer to this function as `write_fetch_command_and_capabilities()`. It will be nice to maintain consistency throughout this series. > commit where it will become a more general-purpose function, making it > more accessible to additional commands in the future. > > Move `write_fetch_command_and_capabilities()` to `connect.c`, where > there are similar purpose functions. > > Because string_list is only used as a pointer, use a forward > declaration [1]. > > [1]: https://lore.kernel.org/git/Z0RIqUAoEob8lGfM@pks.im/ > > Helped-by: Jonathan Tan > Helped-by: Christian Couder > Signed-off-by: Calvin Wan > Signed-off-by: Eric Ju > Signed-off-by: Pablo Sabater > --- [snip]