Re: [PATCH GSoC v14 06/13] fetch-pack: move function to connect.c
- From
Pablo Sabater <pabloosabaterr@gmail.com>
- Date
- Jun 27, 2026, 21:04 UTC
- Message-ID
- <CAN5EUNQzwoZ+v1cCZSWkdJUqqgQBVzLNUmyDsz9jhuKK42Q0Yg@mail.gmail.com>
- In-Reply-To
- <CA+J6zkRm_F4MQ2K8Ayv8PGJOx+pNAg73+p-4VdOgkxeuKAkKew@mail.gmail.com>
El vie, 26 jun 2026 a las 14:14, Chandra Pratap (<chandrapratap3519@gmail.com>) escribió:
Show 8 quoted lines
> > On Thu, 25 Jun 2026 at 17:43, Pablo Sabater <pabloosabaterr@gmail.com> 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.
I'll do that.
Show 19 quoted lines
> > > 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 <jonathantanmy@google.com> > > Helped-by: Christian Couder <chriscool@tuxfamily.org> > > Signed-off-by: Calvin Wan <calvinwan@google.com> > > Signed-off-by: Eric Ju <eric.peijian@gmail.com> > > Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com> > > --- > [snip]
Thanks for the feedback, Pablo.