From: Pablo Sabater Date: Sat, 27 Jun 2026 21:03:09 GMT Subject: Re: [PATCH GSoC v14 06/13] fetch-pack: move function to connect.c Message-ID: In-Reply-To: El vie, 26 jun 2026 a las 18:57, Karthik Nayak () escribió: > > Pablo Sabater writes: > > Nit: could we mention the function in the subject? Yes, I'll mention it. > > > write_fetch_command_and_capabilities will be refactored in a > > subsequent > > Super Nit: Some parts of your patches use backticks for quoting code or > filenames and others skip the convention. It would be nice to be > consistent. Sorry about that, I'll stick to backticks always. > > > 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 > > --- > > connect.c | 34 ++++++++++++++++++++++++++++++++++ > > connect.h | 4 ++++ > > fetch-pack.c | 34 ---------------------------------- > > 3 files changed, 38 insertions(+), 34 deletions(-) > > [snip] Thanks for the feedback, Pablo.