From: Pablo Sabater Date: Sat, 27 Jun 2026 20:58:30 GMT Subject: Re: [PATCH GSoC v14 07/13] connect: refactor packet writing Message-ID: In-Reply-To: El vie, 26 jun 2026 a las 19:03, Karthik Nayak () escribió: > > Pablo Sabater writes: > > The subject is bit too generic no? Maybe we can talk about the function? > Perhaps: > > connect: make `write_fetch_command_and_capabilities()` more generic Okay, I'll use that as the subject. > > > Refactor `write_fetch_command_and_capabilities()`, enabling it to serve > > both fetch and additional commands. > > > > In this context, "command" refers to the "operations" supported by > > Git's wire protocol https://git-scm.com/docs/protocol-v2, such as a Git > > subcommand (e.g., git-fetch(1)) or a server-side operation like > > "object-info" as implemented in commit a2ba162 > > (object-info: support for retrieving object info, 2021-04-20). > > > > Refactor the function signature to accept a command instead of the > > hardcoded "fetch". > > [snip] Thanks for the feedback, Pablo.